Compare commits
2 Commits
0a9727920a
...
03b685da79
Author | SHA1 | Date |
---|---|---|
|
03b685da79 | |
|
3a9048e460 |
|
@ -0,0 +1,31 @@
|
||||||
|
//
|
||||||
|
// 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.material.opplugin.validator.IdCardValidator;
|
||||||
|
import kd.ec.material.opplugin.validator.LabourValidator;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 二开系统标准插件:劳务班组提交操作插件
|
||||||
|
*/
|
||||||
|
public class LabourOpExt extends AbstractOperationServicePlugIn {
|
||||||
|
public LabourOpExt() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onPreparePropertys(PreparePropertysEventArgs e) {
|
||||||
|
super.onPreparePropertys(e);
|
||||||
|
e.getFieldKeys().add("entryentity.idcard");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onAddValidators(AddValidatorsEventArgs e) {
|
||||||
|
super.onAddValidators(e);
|
||||||
|
e.addValidator(new LabourValidator());
|
||||||
|
// e.addValidator(new IdCardValidator());//去除系统标准身份证校验逻辑
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue