|
@@ -54,6 +54,10 @@ public interface ApsBlankOrderDao extends BaseMapper<ApsBlankOrderDo> {
|
|
"</if></script>")
|
|
"</if></script>")
|
|
List<ApsBlankOrderVo> getOrdersHasNotLockProcess(@Param("hasIds") String hasIds, @Param("tenantId") String tenantId);
|
|
List<ApsBlankOrderVo> getOrdersHasNotLockProcess(@Param("hasIds") String hasIds, @Param("tenantId") String tenantId);
|
|
|
|
|
|
|
|
+ @Select("UPDATE aps_process_operation set LOCKMARK=null where LOCKMARK='y' and DELETED='0' and " +
|
|
|
|
+ "BLANKID in (SELECT ID FROM aps_blank_order where DELETED='0' and SCHEDULINGSTATUS='10' and ID in (${hasIds}))")
|
|
|
|
+ void setLockMarkNullByToAps(@Param("hasIds") String hasIds);
|
|
|
|
+
|
|
@Select("select * FROM (\n" +
|
|
@Select("select * FROM (\n" +
|
|
"select PROCESSDEVICEID,PLANSTARTDATE,PLANENDDATE,GROUP_CONCAT(PROCESSID) PROCESSID from (select * from aps_process_operation_process_equ " +
|
|
"select PROCESSDEVICEID,PLANSTARTDATE,PLANENDDATE,GROUP_CONCAT(PROCESSID) PROCESSID from (select * from aps_process_operation_process_equ " +
|
|
"where DELETED='0' ORDER BY PROCESSID ASC) a GROUP BY PROCESSDEVICEID,PLANSTARTDATE,PLANENDDATE" +
|
|
"where DELETED='0' ORDER BY PROCESSID ASC) a GROUP BY PROCESSDEVICEID,PLANSTARTDATE,PLANENDDATE" +
|