md
This commit is contained in:
parent
ff352a2780
commit
c36a3fd395
@ -359,6 +359,10 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
String [] packTypeArr = packTypeStr.split(",");
|
String [] packTypeArr = packTypeStr.split(",");
|
||||||
for(String itemLabel:packTypeArr){
|
for(String itemLabel:packTypeArr){
|
||||||
String dictValue=DictUtils.getDictValue("emis_tab_packing_type",itemLabel);
|
String dictValue=DictUtils.getDictValue("emis_tab_packing_type",itemLabel);
|
||||||
|
if(StringUtils.isEmpty(dictValue)){
|
||||||
|
throw new EmisBizError(EmisBizErrorType.NOT_EXISTS, "包装类型["+itemLabel+"]不正确");
|
||||||
|
}
|
||||||
|
|
||||||
if(!StringUtils.isEmpty(dictValue)) {
|
if(!StringUtils.isEmpty(dictValue)) {
|
||||||
packTypeCvtStr = packTypeCvtStr + dictValue + ",";
|
packTypeCvtStr = packTypeCvtStr + dictValue + ",";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user