fix:发货联系书云之家提交标题拼接
This commit is contained in:
parent
bddafe13d2
commit
d5128f866d
@ -6,6 +6,8 @@ import kd.bos.dataentity.entity.DynamicObject;
|
||||
import kd.bos.dataentity.entity.DynamicObjectCollection;
|
||||
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
|
||||
import kd.bos.entity.plugin.AddValidatorsEventArgs;
|
||||
import kd.bos.entity.plugin.args.BeforeOperationArgs;
|
||||
import kd.bos.entity.plugin.args.BeginOperationTransactionArgs;
|
||||
import kd.bos.entity.plugin.args.EndOperationTransactionArgs;
|
||||
import kd.bos.orm.query.QFilter;
|
||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||
@ -36,6 +38,16 @@ public class ContactBookSubmitOp extends AbstractOperationServicePlugIn
|
||||
for (DynamicObject entity : entities) {
|
||||
entity = BusinessDataServiceHelper.loadSingle(entity.getPkValue(), entity.getDynamicObjectType().getName());
|
||||
updateShipping(entity, "B");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void beforeExecuteOperationTransaction(BeforeOperationArgs e) {
|
||||
super.beforeExecuteOperationTransaction(e);
|
||||
DynamicObject[] entities = e.getDataEntities();
|
||||
for (DynamicObject entity : entities) {
|
||||
entity = BusinessDataServiceHelper.loadSingle(entity.getPkValue(), entity.getDynamicObjectType().getName());
|
||||
yemtitles(entity);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user