浏览代码

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

xiahan 11 月之前
父节点
当前提交
9b2642da3f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      cx-aps/cx-aps-common/src/main/resources/mybatis/ApsProcessOperationProcessEquDao.xml

+ 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=",">