瀏覽代碼

流程生产订单审批

yaoyu 2 年之前
父節點
當前提交
72d6162a65
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      xh/so/src/private/nc/bs/mmpac/pmo/pfxx/plugin/MMpacPmoPfxxPlugin.java

+ 3 - 2
xh/so/src/private/nc/bs/mmpac/pmo/pfxx/plugin/MMpacPmoPfxxPlugin.java

@@ -39,9 +39,10 @@ public class MMpacPmoPfxxPlugin extends AbstractPfxxPlugin {
 			}
 
 			returnVO = this.getIPMOMaintainService().insert(new PMOAggVO[]{(PMOAggVO) resvo})[0];
-			// 괏닸�툽  2022-11-08  yaoy  직넋�끓땐데
+			// 괏닸�툽  2022-11-08  yaoy  직넋�끓땐데 
 			if(swapContext.getBilltype().equals("55A2")){
-				returnVO = this.getIPMOMaintainService().approve(new PMOAggVO[]{(PMOAggVO) resvo})[0];
+				returnVO.getParentVO().setAttributeValue("fbillstatus",1);
+				this.getIPMOMaintainService().approve(new PMOAggVO[]{(PMOAggVO) resvo});
 		    }
 		} else {
 			returnVO = this.getIPMOMaintainService().update(new PMOAggVO[]{(PMOAggVO) resvo})[0];