|
|
|
@ -165,7 +165,6 @@ public class InvWarehouseController extends BaseController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("spms/sub/inv/warehouse/filterSub")
|
|
|
|
|
public BaseResponse filterSub(FilterInvWarehouseRequest filterInvWarehouseRequest) {
|
|
|
|
@ -214,6 +213,7 @@ public class InvWarehouseController extends BaseController {
|
|
|
|
|
updateEntity.setUpdateTime(new Date());
|
|
|
|
|
deptService.updateInvWarehouse(updateEntity);
|
|
|
|
|
invWarehouseEntity.setId(IdUtil.getSnowflake(6, 1).nextId() + "");
|
|
|
|
|
invWarehouseEntity.setUpdateTime(new Date());
|
|
|
|
|
boolean b = invWarehouseService.insertInvSubWarehouse(invWarehouseEntity);
|
|
|
|
|
if (!b) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.NOT_NETWORK);
|
|
|
|
@ -235,6 +235,7 @@ public class InvWarehouseController extends BaseController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//更新仓库信息
|
|
|
|
|
invWarehouseEntity.setUpdateTime(new Date());
|
|
|
|
|
boolean b = invWarehouseService.updateInvSubWarehouse(invWarehouseEntity);
|
|
|
|
|
|
|
|
|
|
//更新部门信息
|
|
|
|
|