|
|
@@ -10,17 +10,13 @@ import kd.bos.entity.operate.result.OperationResult;
|
|
|
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
|
|
|
import kd.bos.entity.plugin.AddValidatorsEventArgs;
|
|
|
import kd.bos.entity.plugin.PreparePropertysEventArgs;
|
|
|
-import kd.bos.entity.plugin.args.AfterOperationArgs;
|
|
|
import kd.bos.entity.plugin.args.BeginOperationTransactionArgs;
|
|
|
import kd.bos.orm.query.QCP;
|
|
|
import kd.bos.orm.query.QFilter;
|
|
|
-import kd.bos.servicehelper.BusinessDataServiceHelper;
|
|
|
import kd.bos.servicehelper.QueryServiceHelper;
|
|
|
-import kd.bos.servicehelper.operation.OperationServiceHelper;
|
|
|
-import kd.scm.common.util.DynamicObjectUtil;
|
|
|
import kd.sdk.plugin.Plugin;
|
|
|
import kd.sdk.swc.hcdm.business.helper.HCDMApplyBillServiceHelper;
|
|
|
-import nckd.jxccl.base.entity.helper.EntityHelper;
|
|
|
+
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.*;
|
|
|
@@ -89,6 +85,7 @@ public class BuildApplyBillOpPlugin extends AbstractOperationServicePlugIn imple
|
|
|
applyBill.put("exctable", 2321965096026258432L); //汇率表
|
|
|
applyBill.put("effectivedate", new Date()); //默认生效日期
|
|
|
applyBill.put("isdraft", "1"); //草稿状态
|
|
|
+ applyBill.put("auditstatus", "A"); //审核状态
|
|
|
applyBill.put("datasource", "2"); //申请单数据来源 //1:手工新增 2:接口写入
|
|
|
|
|
|
List<Map<String,Object>> applyBillEntryData = new ArrayList<>();
|