内配订单推PLM-传输标志字段赋值调整

This commit is contained in:
mzr 2025-09-16 19:40:15 +08:00
parent 40c7ca78ee
commit d12c8a47a7
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 = 'ÊÇ' where cpmohid = '[cpmohid]'";
String updateSql = "update mm_mo set vdef13 = '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 = '' where cpmohid = '[cpmohid]'";
String updateSql = "update mm_mo set vdef13 = 'Y' where cpmohid = '[cpmohid]'";
updateSql = updateSql.replace("[cpmohid]", parentVO.getPrimaryKey());
getDao().executeUpdate(updateSql);
}