Browse Source

aps-调度挪动数据sql修改

sucheng 2 tháng trước cách đây
mục cha
commit
c08994636a

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

@@ -366,7 +366,7 @@
                     ifnull(apo.MINFLOWWAITMIN,0), -- 最小流转等待时间
                     if(apope.PROCESSWORKSHOPID!=preapope.PROCESSWORKSHOPID,#{workshopcross}, -- 车间流转时间
                     if(apope.PROCESSDEVICEID!=preapope.PROCESSDEVICEID,#{workshopin},0))) MINUTE -- 机台流转时间
-                    ) < #{chongpaiEndDate} -- 调度结束时间
+                    ) between #{chongpaiStartDate} and #{chongpaiEndDate} -- 调度结束时间
                     )
                    )
           AND (