Merge remote-tracking branch 'origin/master'

master
赵嘉伟 3 years ago
commit a71801243b

@ -458,6 +458,7 @@ public class CallItemServiceImpl extends ServiceImpl<CallItemMapper, CallItem> i
String []size = blankingSize.split("×");
if (size != null && size.length >= 2) {
try {
int sizeLength = size.length;
BigDecimal length = new BigDecimal(size[sizeLength-1]);
BigDecimal width = new BigDecimal(size[sizeLength-2]);
@ -466,6 +467,9 @@ public class CallItemServiceImpl extends ServiceImpl<CallItemMapper, CallItem> i
//按物料汇总需求数量
compQtyMap.put(component, (compQtyMap.get(component) != null ? compQtyMap.get(component).add(sizeReqQty) : sizeReqQty));
}catch (Exception e){
throw BusinessException.build("产品条码["+callItem.getSfc()+"]的下料尺寸不符合钢板的标准尺寸!");
}
}
} else {
String[] size = new String[1];

Loading…
Cancel
Save