|
@@ -74,7 +74,7 @@ public interface ApsBlankOrderDao extends BaseMapper<ApsBlankOrderDo> {
|
|
|
// void setProDetailLockMark(@Param("hasIds") String hasIds);
|
|
|
|
|
|
@Select("UPDATE aps_process_operation_process_equ set LOCKMARK='n' where DELETED='0' and BLANKID in (${hasIds}) " +
|
|
|
- "and ID NOT IN (select ID from aps_process_operation_process_equ where DELETED='0' and BLANKID in (${hasIds}) AND LOCKMARKDETAIL='y')")
|
|
|
+ "and (LOCKMARKDETAIL is null or LOCKMARKDETAIL != 'y')")
|
|
|
void setProDetailLockMark(@Param("hasIds") String hasIds);
|
|
|
|
|
|
@Select("select * FROM (\n" +
|