|
|
@ -110,6 +110,10 @@ public class WareHouseController {
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
InvBusUserService invBusUserService;
|
|
|
|
InvBusUserService invBusUserService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
UdiInfoUtils udiInfoUtils;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
@GetMapping("admin/warehouse/inout/list")
|
|
|
|
@GetMapping("admin/warehouse/inout/list")
|
|
|
@ -1086,6 +1090,9 @@ public class WareHouseController {
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//计算实际数量
|
|
|
|
|
|
|
|
int reCount= udiInfoUtils.getActCount(warehouseEntity);
|
|
|
|
|
|
|
|
warehouseEntity.setReCount(reCount);
|
|
|
|
boolean b = codesTempService.update(warehouseEntity);
|
|
|
|
boolean b = codesTempService.update(warehouseEntity);
|
|
|
|
if (warehouseEntity.getMySupId() != null) {
|
|
|
|
if (warehouseEntity.getMySupId() != null) {
|
|
|
|
warehouseEntity.setSupId(warehouseEntity.getMySupId());
|
|
|
|
warehouseEntity.setSupId(warehouseEntity.getMySupId());
|
|
|
|