From 1f58305837a75c86ef751f26d142e80fffbcdf25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=9F=B3?= <12105081+xiaoshi_com@user.noreply.gitee.com> Date: Tue, 3 Dec 2024 19:11:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E5=85=A5=E6=94=AF=E5=87=BA=E5=90=88?= =?UTF-8?q?=E5=90=8C=E7=95=8C=E9=9D=A2=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zcdev/pr/plugin/form/ContractPublicBillPlugin.java | 1 + .../zcdev/pr/plugin/operate/SubmitInContractBillOp.java | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/ContractPublicBillPlugin.java b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/ContractPublicBillPlugin.java index 0a7adf4..3d14aea 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/ContractPublicBillPlugin.java +++ b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/ContractPublicBillPlugin.java @@ -59,6 +59,7 @@ public class ContractPublicBillPlugin extends AbstractBillPlugIn implements Plug comboList.add(new ComboItem(new LocaleString("昆钢"), "31")); comboList.add(new ComboItem(new LocaleString("台泥"), "32")); comboList.add(new ComboItem(new LocaleString("万年青"), "33")); + comboList.add(new ComboItem(new LocaleString("万年青"), "34")); } ComboEdit comboEdit = getView().getControl("zcgj_belongingsector"); comboEdit.setComboItems(comboList); diff --git a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/operate/SubmitInContractBillOp.java b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/operate/SubmitInContractBillOp.java index a94b2e6..641d288 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/operate/SubmitInContractBillOp.java +++ b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/operate/SubmitInContractBillOp.java @@ -1,4 +1,6 @@ package zcgj.zcdev.zcdev.pr.plugin.operate; +import com.apusic.juli.logging.Log; +import com.apusic.juli.logging.LogFactory; import kd.bos.entity.plugin.AddValidatorsEventArgs; import kd.bos.entity.validate.AbstractValidator; import kd.ec.contract.opplugin.InContractBillOp; @@ -7,6 +9,8 @@ import kd.ec.contract.opplugin.validator.ContractValidator; import java.util.List; public class SubmitInContractBillOp extends InContractBillOp{ + + private final static Log logger = LogFactory.getLog(SubmitInContractBillOp.class); @Override public void onAddValidators(AddValidatorsEventArgs e) { super.onAddValidators(e); @@ -14,7 +18,7 @@ public class SubmitInContractBillOp extends InContractBillOp{ for (AbstractValidator validator:validators){ if (validator instanceof ContractValidator){ validators.remove(validator); - System.out.println("合同总金额校验已取去除"); + logger.info("合同总金额校验已取去除"); break; } }