退货流程 出库异常流程 平库盘点流程
This commit is contained in:
@@ -161,10 +161,12 @@ public class OutStockoutServiceImpl implements IOutStockoutService
|
||||
outStockoutDetail.setStockoutId(stockoutId);
|
||||
List<OutStockoutDetail> outStockoutDetails = outStockoutDetailService.selectOutStockoutDetailList(outStockoutDetail);
|
||||
for (OutStockoutDetail detail : outStockoutDetails) {
|
||||
map.put("v_stockout_detail_id", detail.getStockoutDetailId());
|
||||
outStockoutMapper.autoAllot(map);
|
||||
if (!"10".equals(map.get("v_result"))){
|
||||
stringBuilder.append(",").append(map.get("v_resultString"));
|
||||
if (detail.getAllotQuantity().compareTo(detail.getQuantity()) < 0){
|
||||
map.put("v_stockout_detail_id", detail.getStockoutDetailId());
|
||||
outStockoutMapper.autoAllot(map);
|
||||
if (!"10".equals(map.get("v_result"))){
|
||||
stringBuilder.append(",").append(map.get("v_resultString"));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (stringBuilder.length()>0){
|
||||
|
||||
Reference in New Issue
Block a user