1、如果提交银企按钮触发,更新“提交时间”

This commit is contained in:
16358 2025-02-20 14:48:25 +08:00
parent 056f4934d2
commit 4b0bbf45ea
1 changed files with 4 additions and 6 deletions

View File

@ -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++) {