|
|
|
@ -100,6 +100,7 @@ public class CallItemServiceImpl extends ServiceImpl<CallItemMapper, CallItem> i
|
|
|
|
|
callItem.setHandle(HandleEnum.CALL_ITEM.getHandle(site, callItemNo));
|
|
|
|
|
callItem.setCallType(Constants.CALL_TYPE_MATERIAL);
|
|
|
|
|
callItem.setStatus(Constants.CALL_ITEM_STATUS_NEW);
|
|
|
|
|
callItem.setIssueQty(BigDecimal.ZERO);
|
|
|
|
|
callItem.setCreateUser(user);
|
|
|
|
|
callItem.setCreatedDateTime(nowDate);
|
|
|
|
|
callItem.setModifyUser(user);
|
|
|
|
@ -309,7 +310,7 @@ public class CallItemServiceImpl extends ServiceImpl<CallItemMapper, CallItem> i
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ("GB".equals(itemGroup) && blankingSize.contains("*")) {
|
|
|
|
|
String []size = blankingSize.split("/*");
|
|
|
|
|
String []size = blankingSize.split("\\*");
|
|
|
|
|
if (size != null && size.length >= 2) {
|
|
|
|
|
int sizeLength = size.length;
|
|
|
|
|
BigDecimal length = new BigDecimal(size[sizeLength-1]);
|
|
|
|
@ -321,7 +322,7 @@ public class CallItemServiceImpl extends ServiceImpl<CallItemMapper, CallItem> i
|
|
|
|
|
compQtyMap.put(component, (compQtyMap.get(component) != null ? compQtyMap.get(component).add(sizeReqQty) : sizeReqQty));
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
String []size = blankingSize.split("/*");
|
|
|
|
|
String []size = blankingSize.split("\\*");
|
|
|
|
|
if (size != null && size.length >= 1) {
|
|
|
|
|
int sizeLength = size.length;
|
|
|
|
|
BigDecimal length = new BigDecimal(size[sizeLength-1]);
|
|
|
|
|