浏览代码

aps-自动调度

sucheng 6 月之前
父节点
当前提交
8a0b2cd067
共有 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

@@ -227,7 +227,7 @@
         set apope.LOCKMARKDETAIL = 'n',apo.LOCKMARK='n',abo.SCHEDULINGSTATUS = '20'
         where apope.deleted='0' and apo.deleted='0'
         and apo.PROCESS != '铸轧' and apope.WORKSTATUS = '待开工'
-        and apope.PLANSTARTDATE >= DATE_ADD(#{needScheduleDate},INTERVAL 2 DAY) and apope.PLANSTARTDATE < DATE_ADD(#{needScheduleDate},INTERVAL 3 DAY)
+        and apope.PLANSTARTDATE >= DATE_ADD(#{needScheduleDate},INTERVAL 1 DAY) and apope.PLANSTARTDATE < DATE_ADD(#{needScheduleDate},INTERVAL 2 DAY)
     </update>
     <select id="checkConflictByBlankId" resultType="java.lang.Integer">
         select count(*) from aps_process_operation_process_equ