1、如果提交银企按钮触发,更新“提交时间”
This commit is contained in:
parent
056f4934d2
commit
4b0bbf45ea
|
@ -2,27 +2,25 @@ package shkd.fi.cas.report.form;
|
|||
|
||||
import kd.bos.dataentity.entity.DynamicObject;
|
||||
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
|
||||
import kd.bos.entity.plugin.args.AfterOperationArgs;
|
||||
import kd.bos.entity.plugin.args.BeforeOperationArgs;
|
||||
import kd.bos.logging.Log;
|
||||
import kd.bos.logging.LogFactory;
|
||||
import kd.bos.orm.query.QFilter;
|
||||
import kd.bos.servicehelper.AttachmentServiceHelper;
|
||||
import kd.sdk.plugin.Plugin;
|
||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||
import kd.bos.servicehelper.botp.BFTrackerServiceHelper;
|
||||
import kd.bos.servicehelper.operation.SaveServiceHelper;
|
||||
import shkd.plugin.SSOLoginPugin;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* 单据操作插件
|
||||
*/
|
||||
public class UpdateNewdatePlugin extends AbstractOperationServicePlugIn {
|
||||
public class UpdateNewdatePlugin extends AbstractOperationServicePlugIn implements Plugin {
|
||||
|
||||
private static Log logger = LogFactory.getLog(UpdateNewdatePlugin.class);
|
||||
|
||||
@Override
|
||||
public void afterExecuteOperationTransaction(AfterOperationArgs e) {
|
||||
public void beforeExecuteOperationTransaction(BeforeOperationArgs e) {
|
||||
DynamicObject[] dataEntities = e.getDataEntities();
|
||||
if (dataEntities == null) return;
|
||||
for (int i = 0; i < dataEntities.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue