|
|
@ -121,6 +121,11 @@ public class InvSubWarehouseController {
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL);
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
boolean b = invSubWarehouseService.updateInvSubWarehouse(invSubWarehouseEntity);
|
|
|
|
boolean b = invSubWarehouseService.updateInvSubWarehouse(invSubWarehouseEntity);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InvWarehouseEntity pEntity = invWarehouseService.selectByCode(invSubWarehouseEntity.getParentId());
|
|
|
|
|
|
|
|
pEntity.setUpdateTime(new Date());
|
|
|
|
|
|
|
|
invWarehouseService.updateInvWarehouse(pEntity);
|
|
|
|
|
|
|
|
|
|
|
|
if (!b) {
|
|
|
|
if (!b) {
|
|
|
|
return ResultVOUtils.error(ResultEnum.NOT_NETWORK);
|
|
|
|
return ResultVOUtils.error(ResultEnum.NOT_NETWORK);
|
|
|
|
}
|
|
|
|
}
|
|
|
|