|
|
@ -103,8 +103,10 @@ public class ThrDeptController {
|
|
|
|
//查询该部门下的仓库
|
|
|
|
//查询该部门下的仓库
|
|
|
|
filterThrSubInvWarehouseRequest.setParentId(thrDeptEntity1.getCode());
|
|
|
|
filterThrSubInvWarehouseRequest.setParentId(thrDeptEntity1.getCode());
|
|
|
|
List<ThrInvWarehouseEntity> thrDept = thrInvWarehouseService.filterThrInvWarehouse(filterThrSubInvWarehouseRequest);
|
|
|
|
List<ThrInvWarehouseEntity> thrDept = thrInvWarehouseService.filterThrInvWarehouse(filterThrSubInvWarehouseRequest);
|
|
|
|
|
|
|
|
|
|
|
|
for (ThrInvWarehouseEntity thrInvWarehouseEntity : thrDept) {
|
|
|
|
for (ThrInvWarehouseEntity thrInvWarehouseEntity : thrDept) {
|
|
|
|
thrInvWarehouseEntity.setParentId(thrDeptEntity.getCode());
|
|
|
|
thrInvWarehouseEntity.setParentId(thrDeptEntity.getCode());
|
|
|
|
|
|
|
|
thrInvWarehouseEntity.setThirdSysFk(thrDeptEntity.getThirdSysFk());
|
|
|
|
//修改仓库
|
|
|
|
//修改仓库
|
|
|
|
thrInvWarehouseService.updateThrInvWarehouse(thrInvWarehouseEntity);
|
|
|
|
thrInvWarehouseService.updateThrInvWarehouse(thrInvWarehouseEntity);
|
|
|
|
}
|
|
|
|
}
|
|
|
|