md
This commit is contained in:
parent
685ff377c8
commit
06499684e0
@ -332,6 +332,23 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
}
|
}
|
||||||
emisWaybillSave.setPickupMethod(pickupMethod);
|
emisWaybillSave.setPickupMethod(pickupMethod);
|
||||||
|
|
||||||
|
// 包装类型
|
||||||
|
String packTypeStr = emisWaybillSave.getPackType();
|
||||||
|
if(StringUtils.isEmpty(packTypeStr)){
|
||||||
|
throw new EmisBizError(EmisBizErrorType.NOT_EXISTS, "包装类型不正确");
|
||||||
|
}
|
||||||
|
|
||||||
|
String packTypeCvtStr="";
|
||||||
|
String [] packTypeArr = packTypeStr.split(",");
|
||||||
|
for(String itemLabel:packTypeArr){
|
||||||
|
String dictValue=DictUtils.getDictValue("emis_tab_packing_type",itemLabel);
|
||||||
|
if(!StringUtils.isEmpty(dictValue)) {
|
||||||
|
packTypeCvtStr = packTypeCvtStr + dictValue + ",";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
emisWaybillSave.setPackType(packTypeCvtStr);
|
||||||
|
|
||||||
|
|
||||||
// 派送方式
|
// 派送方式
|
||||||
String dispatchMethod=DictUtils.getDictValue("emis_tab_dispatch_mode",emisWaybillSave.getDispatchMethod());
|
String dispatchMethod=DictUtils.getDictValue("emis_tab_dispatch_mode",emisWaybillSave.getDispatchMethod());
|
||||||
if(dispatchMethod==null){
|
if(dispatchMethod==null){
|
||||||
@ -354,6 +371,8 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
EmisCustomerUser emisCustomerUser=getCustomerUserByMonthlyPayCode(emisWaybillSave.getCustNo());
|
EmisCustomerUser emisCustomerUser=getCustomerUserByMonthlyPayCode(emisWaybillSave.getCustNo());
|
||||||
emisWaybillSave.setCustomerCode(emisCustomerUser.getCustomerCode());
|
emisWaybillSave.setCustomerCode(emisCustomerUser.getCustomerCode());
|
||||||
emisWaybillSave.setCustomerName(emisCustomerUser.getCustomerName());
|
emisWaybillSave.setCustomerName(emisCustomerUser.getCustomerName());
|
||||||
|
}else{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user