|
|
|
@ -54,6 +54,7 @@ |
|
|
|
a.CREATOR = d.id |
|
|
|
where |
|
|
|
a.ISDELETE = 'N' |
|
|
|
and a.code not in ('370910170701','370910170702','370910170703') |
|
|
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
@ -115,7 +116,8 @@ |
|
|
|
LEFT JOIN PF_ACCOUNT e ON |
|
|
|
b.CREATOR = e.id |
|
|
|
WHERE |
|
|
|
a.ISDELETE = 'N'; |
|
|
|
a.ISDELETE = 'N' |
|
|
|
and b.code not in ('370910170701','370910170702','370910170703') |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getFxsjs" resultType="com.hxjt.dataupload.model.entity.doubleprevent.Fxsj"> |
|
|
|
@ -158,6 +160,7 @@ |
|
|
|
--左连接员工表 |
|
|
|
left join PF_EMPLOYEE e on c.FDUTYID = e.ID |
|
|
|
WHERE a.ISDELETE = 'N' |
|
|
|
and b.code not in ('370910170701','370910170702','370910170703') |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getFxgkcss" resultType="com.hxjt.dataupload.model.entity.doubleprevent.Fxgkcs"> |
|
|
|
@ -219,6 +222,7 @@ |
|
|
|
LEFT JOIN PF_ACCOUNT h ON a.CREATOR = h.id |
|
|
|
WHERE |
|
|
|
a.ISDELETE = 'N' |
|
|
|
and b.code not in ('370910170701','370910170702','370910170703') |
|
|
|
<if test='isSingleDay == "Y"'> |
|
|
|
AND a.CREASTAMP BETWEEN |
|
|
|
DATEADD(DAY, -1, CAST(SYSDATETIME() AS date)) AND |
|
|
|
@ -305,7 +309,7 @@ |
|
|
|
a.CREATOR = i.id |
|
|
|
WHERE |
|
|
|
a.ISDELETE = 'N' |
|
|
|
|
|
|
|
and b.code not in ('370910170701','370910170702','370910170703') |
|
|
|
--and b.name in ('甲醇中间罐区','甲醇罐区','气柜储存单元','空分站','化产粗苯储存区','粗苯蒸馏单元') |
|
|
|
|
|
|
|
<if test='isSingleDay == "Y"'> |
|
|
|
@ -410,6 +414,7 @@ |
|
|
|
i.FCHECKERID = l.ID |
|
|
|
WHERE |
|
|
|
a.ISDELETE = 'N' |
|
|
|
and b.code not in ('370910170701','370910170702','370910170703') |
|
|
|
--and i.FPERSIONID in ('1_EMP','137_EMP','2_EMP','710_EMP','828_EMP') |
|
|
|
--and l.EMPNAME in ('王来发','王绍武','王国敬','李尽','谭洪金') |
|
|
|
|
|
|
|
|