内配订单-PLM传输标志调整

This commit is contained in:
mzr 2025-09-21 17:24:29 +08:00
parent 24713f6670
commit 99e00ca968
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ public class PmoToPlmAction implements ICommonAction {
throw new BusinessException(result.get("msg") + "");
} else {
// µ÷ÕûPLM´«Êä״̬
String updateSql = "update mm_mo set vdef13 = 'Y' where cpmohid = '[cpmohid]'";
String updateSql = "update mm_mo set vdef22 = 'Y' where cpmohid = '[cpmohid]'";
updateSql = updateSql.replace("[cpmohid]", parentVO.getPrimaryKey());
getDao().executeUpdate(updateSql);
resultList.add(result);

View File

@ -165,7 +165,7 @@ public class AfterApproveSyncPLMRule implements IRule<PMOAggVO> {
throw new BusinessException(result.get("msg").toString());
} else {
// 调整PLM传输状态
String updateSql = "update mm_mo set vdef13 = 'Y' where cpmohid = '[cpmohid]'";
String updateSql = "update mm_mo set vdef22 = 'Y' where cpmohid = '[cpmohid]'";
updateSql = updateSql.replace("[cpmohid]", parentVO.getPrimaryKey());
getDao().executeUpdate(updateSql);
}