瀏覽代碼

aps-调度排程挪动sql修改

sucheng 2 月之前
父節點
當前提交
e0e5b05c4c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cx-aps/cx-aps-common/src/main/resources/mybatis/ApsBlankOrderDao.xml

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

@@ -418,7 +418,7 @@
         apope.PLANENDDATE=DATE_ADD(#{chongpaiStartDate},INTERVAL TIMESTAMPdiff(SECOND, apope.PLANSTARTDATE, apope.PLANENDDATE) SECOND),
         apope.PLANSTARTDATE=#{chongpaiStartDate}
         WHERE
-        apope.deleted = '0' AND apo.DELETED = '0'
+        apope.deleted = '0' AND apo.DELETED = '0' AND abo.DELETED = 0
         and apope.TENANTID = #{tenantId}
         and apo.PROCESS != '铸轧'
         <if test="type != '' and type != null and type == '冷轧'">