bug修改

fengcang
anthonyywj2 3 years ago
parent a8753cd487
commit ad1abc75bb

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

Loading…
Cancel
Save