浏览代码

feature 解决甘特图不选厂 没有数据的问题

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

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

@@ -199,7 +199,7 @@
                     #{workshopId}
                 </foreach>
             </if>
-            <if test="factoryId != null and factoryId != 'ALL'">and a1.TENANTID = #{factoryId}</if>
+            <if test="factoryId != null and factoryId != '' and factoryId != 'ALL'">and a1.TENANTID = #{factoryId}</if>
             <if test="startTime != null ">and a1.PLANSTARTDATE &gt;= #{startTime}</if>
             <if test="endTime != null ">and a1.PLANENDDATE &lt;= #{endTime}</if>
             <if test="orderNos !=null and orderNos.size()>0">