二开系统插件标识

This commit is contained in:
xuhaihui 2025-06-18 11:22:21 +08:00
parent 8cca233a97
commit 01adcd8a8c
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package zcgj.zcdev.zcdev.pr.plugin.form;
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
import kd.bos.entity.plugin.AddValidatorsEventArgs;
import kd.bos.entity.plugin.PreparePropertysEventArgs;
import kd.ec.ecpf.opplugin.PaymentApplyInvoiceValidator;
public class PaymentApplyInvoiceValidateOpExt extends AbstractOperationServicePlugIn {
public PaymentApplyInvoiceValidateOpExt() {
}
public void onPreparePropertys(PreparePropertysEventArgs e) {
e.getFieldKeys().add("entryentity");
e.getFieldKeys().add("applyoftaxamount");
e.getFieldKeys().add("subentryentity");
e.getFieldKeys().add("invoice");
e.getFieldKeys().add("applyinvoftaxamt");
}
public void onAddValidators(AddValidatorsEventArgs e) {
e.addValidator(new PaymentApplyInvoiceValidator());
}
}