Browse Source

bugFix 解决甘特图设备或者车间为空的问题

xiahan 11 months ago
parent
commit
9b2642da3f

+ 2 - 0
cx-aps/cx-aps-common/src/main/resources/mybatis/ApsProcessOperationProcessEquDao.xml

@@ -202,6 +202,8 @@
             AND a2.DELETED = '0'
             AND a3.DELETED = '0'
             AND a6.DELETED='0'
+            and (a1.PROCESSDEVICE is not null and a1.PROCESSDEVICE !='' )
+            and (a1.PROCESSWORKSHOP is not null and a1.PROCESSWORKSHOP !='' )
             <if test="ids != null and ids.size()>0">
                 and a1.ID in
                 <foreach collection="ids" item="id" open="(" close=")" separator=",">