Browse Source

应安环部要求,不再上传某些数据

master
liwenxuan 4 months ago
parent
commit
50593898c1
  1. 2
      src/main/resources/application.yml
  2. 9
      src/main/resources/mapper/FxfxdxMapper.xml

2
src/main/resources/application.yml

@ -1,5 +1,5 @@
spring: spring:
profiles: profiles:
active: dev active: prod
server: server:
port: 8118 port: 8118

9
src/main/resources/mapper/FxfxdxMapper.xml

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

Loading…
Cancel
Save