diff --git a/ruoyi-admin/src/main/java/com/ruoyi/out/outStockout/service/impl/OutStockoutServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/out/outStockout/service/impl/OutStockoutServiceImpl.java index 57bd90e..02f0c1f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/out/outStockout/service/impl/OutStockoutServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/out/outStockout/service/impl/OutStockoutServiceImpl.java @@ -183,8 +183,11 @@ public class OutStockoutServiceImpl implements IOutStockoutService outStockoutMapper.autoAllot(map); toWcsService.pushOutMydoJob(); if (!"10".equals(map.get("v_result"))){ - stringBuilder.append(",").append(map.get("v_resultString")); + stringBuilder.append(",").append(detail.getStockoutDetailId()+map.get("v_resultString")); } + }else{ + stringBuilder.append(",").append(detail.getStockoutDetailId()+"单据已分配完成"); + } } if (!StrUtil.isEmpty(stringBuilder.toString())){ @@ -208,7 +211,7 @@ public class OutStockoutServiceImpl implements IOutStockoutService outStockoutMapper.manualAllot(map); toWcsService.pushOutMydoJob(); if (!"10".equals(map.get("v_result"))){ - stringBuilder.append(",").append(map.get("v_resultString")); + stringBuilder.append(",").append(stockoutDetailId+map.get("v_resultString")); } } if (!StrUtil.isEmpty(stringBuilder.toString())){