调试
This commit is contained in:
parent
24ed0ed36e
commit
603aea2567
@ -49,6 +49,7 @@ public class WmsOutPlanController extends BaseController {
|
|||||||
@PreAuthorize("@ss.hasPermi('md:PLAN:list')")
|
@PreAuthorize("@ss.hasPermi('md:PLAN:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(WmsOutPlan wmsOutPlan) {
|
public TableDataInfo list(WmsOutPlan wmsOutPlan) {
|
||||||
|
wmsOutPlanService.synchronizationMiniBox(getUsername()); // 调试
|
||||||
startPage();
|
startPage();
|
||||||
List<WmsOutPlan> list = wmsOutPlanService.selectWmsOutPlanList(wmsOutPlan);
|
List<WmsOutPlan> list = wmsOutPlanService.selectWmsOutPlanList(wmsOutPlan);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
|
@ -343,7 +343,7 @@ public class WmsOutPlanServiceImpl implements IWmsOutPlanService {
|
|||||||
|
|
||||||
// 校验库中数量是否足够
|
// 校验库中数量是否足够
|
||||||
if (baseKnifeList.size() < wmsOutPlanDetail.getPlannedQuantity()) {
|
if (baseKnifeList.size() < wmsOutPlanDetail.getPlannedQuantity()) {
|
||||||
throw new RuntimeException("库存数量不足以支持本次出库");
|
throw new RuntimeException("库存数量不足以支持本次出库物料:" + ap0AE.getAE015());
|
||||||
}
|
}
|
||||||
|
|
||||||
// 开始遍历出库计划子项
|
// 开始遍历出库计划子项
|
||||||
|
Loading…
Reference in New Issue
Block a user