付款申请单提交校验逻辑优化

This commit is contained in:
xuhaihui 2025-06-18 11:28:35 +08:00
parent fa4fb79d7e
commit 81165f2e07
2 changed files with 4 additions and 5 deletions

View File

@ -21,11 +21,10 @@ import kd.bos.logging.LogFactory;
import kd.bos.orm.query.QFilter; import kd.bos.orm.query.QFilter;
import kd.bos.servicehelper.QueryServiceHelper; import kd.bos.servicehelper.QueryServiceHelper;
import kd.ec.basedata.common.enums.BillStatusEnum; import kd.ec.basedata.common.enums.BillStatusEnum;
import zcgj.zcdev.zcdev.pr.plugin.form.MaterialInbFinaceConfirmeInvoicePlugin;
public class PaymentApplyInvoiceValidator extends AbstractValidator { public class PaymentApplyInvoiceValidatorExt extends AbstractValidator {
private static final Log log = LogFactory.getLog(PaymentApplyInvoiceValidator.class); private static final Log log = LogFactory.getLog(PaymentApplyInvoiceValidator.class);
public PaymentApplyInvoiceValidator() { public PaymentApplyInvoiceValidatorExt() {
} }
public void validate() { public void validate() {

View File

@ -3,7 +3,7 @@ package zcgj.zcdev.zcdev.pr.plugin.form;
import kd.bos.entity.plugin.AbstractOperationServicePlugIn; import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
import kd.bos.entity.plugin.AddValidatorsEventArgs; import kd.bos.entity.plugin.AddValidatorsEventArgs;
import kd.bos.entity.plugin.PreparePropertysEventArgs; import kd.bos.entity.plugin.PreparePropertysEventArgs;
import kd.ec.ecpf.opplugin.PaymentApplyInvoiceValidator; import kd.ec.ecpf.opplugin.PaymentApplyInvoiceValidatorExt;
/* /*
* 付款申请单提交操作校验更改 * 付款申请单提交操作校验更改
@ -21,6 +21,6 @@ public class PaymentApplyInvoiceValidateOpExt extends AbstractOperationServicePl
} }
public void onAddValidators(AddValidatorsEventArgs e) { public void onAddValidators(AddValidatorsEventArgs e) {
e.addValidator(new PaymentApplyInvoiceValidator()); e.addValidator(new PaymentApplyInvoiceValidatorExt());
} }
} }