|
|
@@ -886,7 +886,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
"left join "+Master+".craft on cd_crid=cr_id where ST_STATUSCODE='AUDITED' " +
|
|
|
"and cr_code=(select ms_craftcode from "+Master+".makeserial where ms_id='"+ms_id+"') " +
|
|
|
"and cr_prodcode=(select ms_prodcode from "+Master+".makeserial where ms_id='"+ms_id+"') " +
|
|
|
- "and cd_detno>="+cd_stepno+")");
|
|
|
+ "and cd_stepno>="+cd_stepno+")");
|
|
|
sqls.add(sql.toString());
|
|
|
//同一次提交内完成重置,避免中途失败导致数据不一致
|
|
|
baseDao.execute(sqls);
|