Browse Source

付款单实付金额超额检测&反写和撤销金额2

wuxiaobing 4 ngày trước cách đây
mục cha
commit
f97219bf91

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

@@ -35,7 +35,7 @@ public class PayBillSubmitOperationServicePlugIn extends AbstractOperationServic
     	super.beforeExecuteOperationTransaction(e);
     	DynamicObject[] payBills = e.getDataEntities();
     	String opkey = e.getOperationKey();
-    	if("submit".equals(opkey)) {
+    	if("beforesubmit".equals(opkey)) {
     		this.updateSaleContractInfo(e, payBills, true);
     	}else if("unsubmit".equals(opkey)){
     		this.updateSaleContractInfo(e, payBills, false);