1.报错修复
This commit is contained in:
ljw 2024-11-18 17:40:57 +08:00
parent 5ac851a07d
commit 1145b6b3d6
3 changed files with 4 additions and 9 deletions

View File

@ -44,7 +44,7 @@ public class ShippingDetailsZJFormPlugin extends AbstractBillPlugIn {
DynamicObjectCollection materialInfo = dataEntity.getDynamicObjectCollection("yem_es_materialinfo"); DynamicObjectCollection materialInfo = dataEntity.getDynamicObjectCollection("yem_es_materialinfo");
switch (name) { switch (name) {
case "yem_qty" : case "yem_qty" :
ZJUtils.setRandomDataTools(model); // ZJUtils.setRandomDataTools(model);
ZJUtils.countOrderSumNumberZJ(model); ZJUtils.countOrderSumNumberZJ(model);
TotalUtil.setGiftGiving(model); TotalUtil.setGiftGiving(model);
ClientUtils.addSaAmountTk(model,rowIndex);//销售金额价格条款结算币别 ClientUtils.addSaAmountTk(model,rowIndex);//销售金额价格条款结算币别

View File

@ -2,27 +2,22 @@ package com.yem.wm.es.shippingdetails.op;
import com.alibaba.druid.support.logging.Log; import com.alibaba.druid.support.logging.Log;
import com.alibaba.druid.support.logging.LogFactory; import com.alibaba.druid.support.logging.LogFactory;
import com.kingdee.cosmic.ctrl.common.CtrlUtil;
import com.yem.wm.bc.companytitle.form.CompanyTitleEdit; import com.yem.wm.bc.companytitle.form.CompanyTitleEdit;
import com.yem.wm.es.Util.BoxTypeDataGen; import com.yem.wm.es.Util.BoxTypeDataGen;
import com.yem.wm.utils.DynamicObjectUtil; import com.yem.wm.utils.DynamicObjectUtil;
import com.yem.wm.utils.YEM; import com.yem.wm.utils.YEM;
import kd.bos.dataentity.OperateOption;
import kd.bos.dataentity.entity.DynamicObject; import kd.bos.dataentity.entity.DynamicObject;
import kd.bos.dataentity.entity.DynamicObjectCollection; import kd.bos.dataentity.entity.DynamicObjectCollection;
import kd.bos.entity.operate.result.OperationResult;
import kd.bos.entity.plugin.AbstractOperationServicePlugIn; import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
import kd.bos.entity.plugin.PreparePropertysEventArgs; import kd.bos.entity.plugin.PreparePropertysEventArgs;
import kd.bos.entity.plugin.args.EndOperationTransactionArgs; import kd.bos.entity.plugin.args.EndOperationTransactionArgs;
import kd.bos.orm.query.QCP; import kd.bos.orm.query.QCP;
import kd.bos.orm.query.QFilter; import kd.bos.orm.query.QFilter;
import kd.bos.servicehelper.BusinessDataServiceHelper; import kd.bos.servicehelper.BusinessDataServiceHelper;
import kd.bos.servicehelper.operation.OperationServiceHelper;
import kd.bos.servicehelper.operation.SaveServiceHelper; import kd.bos.servicehelper.operation.SaveServiceHelper;
import java.math.BigDecimal; import java.util.ArrayList;
import java.math.RoundingMode; import java.util.List;
import java.util.*;
/** /**
* @author 张立攀 * @author 张立攀

View File

@ -39,7 +39,7 @@ public class ContactSignUtils {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
}catch (Exception e ){ }catch (Exception e ){
throw new KDBizException("无法解析文件 "); throw new KDBizException("不支持doc格式的word文档请上传docx格式的word文档 ");
} }
return list; return list;
} }