修改第三方仓库问题

pro
wangwei 2 years ago
parent bd75cdeee8
commit e841371176

@ -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);
} }

Loading…
Cancel
Save