|
@@ -69,8 +69,12 @@ public interface ApsBlankOrderDao extends BaseMapper<ApsBlankOrderDo> {
|
|
|
@Update("delete from aps_process_operation_process_equ where BLANKID in (${blankids}) and (CANCELROLL is null or CANCELROLL<PLANPROCESSRALL)")
|
|
|
void deleteBlankDetail(@Param("blankids") String blankids);
|
|
|
|
|
|
+// @Select("UPDATE aps_process_operation_process_equ set LOCKMARK='n' where DELETED='0' and BLANKID in (${hasIds}) " +
|
|
|
+// "and PROCESSID NOT IN (select ID from aps_process_operation where DELETED='0' and BLANKID in (${hasIds}) AND LOCKMARK='y')")
|
|
|
+// void setProDetailLockMark(@Param("hasIds") String hasIds);
|
|
|
+
|
|
|
@Select("UPDATE aps_process_operation_process_equ set LOCKMARK='n' where DELETED='0' and BLANKID in (${hasIds}) " +
|
|
|
- "and PROCESSID NOT IN (select ID from aps_process_operation where DELETED='0' and BLANKID in (${hasIds}) AND LOCKMARK='y')")
|
|
|
+ "and ID NOT IN (select ID from aps_process_operation_process_equ where DELETED='0' and BLANKID in (${hasIds}) AND LOCKMARKDETAIL='y')")
|
|
|
void setProDetailLockMark(@Param("hasIds") String hasIds);
|
|
|
|
|
|
@Select("select * FROM (\n" +
|