Bladeren bron

撤销&反审核恢复

wuxiaobing 4 dagen geleden
bovenliggende
commit
6e17dbd8f6

+ 1 - 1
code/wnq/nckd-wnq01-wnq-scm/src/main/java/nckd/poc602/plugin/operate/PayBillSubmitOperationServicePlugIn.java

@@ -39,7 +39,7 @@ public class PayBillSubmitOperationServicePlugIn extends AbstractOperationServic
     	String opkey = e.getOperationKey();
     	if("beforesubmit".equals(opkey)) {
     		this.updateSaleContractInfo(e, payBills, true);
-    	}else if("unsubmit".equals(opkey)){
+    	}else if("unsubmit".equals(opkey) || "unaudit".equals(opkey)){
     		this.updateSaleContractInfo(e, payBills, false);
     	}
     }

+ 1 - 1
code/wnq/nckd-wnq01-wnq-scm/src/main/java/nckd/poc602/plugin/operate/PurContractSubmitOperationServicePlugIn.java

@@ -33,7 +33,7 @@ public class PurContractSubmitOperationServicePlugIn extends AbstractOperationSe
     	String opkey = e.getOperationKey();
     	if("submit".equals(opkey)) {
     		this.updateSaleContractInfo(e, purContracts, true);
-    	}else if("unsubmit".equals(opkey)){
+    	}else if("unsubmit".equals(opkey) || "unaudit".equals(opkey)){
     		this.updateSaleContractInfo(e, purContracts, false);
     	}
     }