|
|
@ -37,6 +37,11 @@ public class ThrInvWarehouseController {
|
|
|
|
@GetMapping("/thirdSys/sub/inv/warehouse/filter")
|
|
|
|
@GetMapping("/thirdSys/sub/inv/warehouse/filter")
|
|
|
|
public BaseResponse filterInvWarehouse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest) {
|
|
|
|
public BaseResponse filterInvWarehouse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest) {
|
|
|
|
List<ThrInvWarehouseEntity> thrInvWarehouseEntities = thrInvWarehouseService.filterThrInvWarehouse(filterThrSubInvWarehouseRequest);
|
|
|
|
List<ThrInvWarehouseEntity> thrInvWarehouseEntities = thrInvWarehouseService.filterThrInvWarehouse(filterThrSubInvWarehouseRequest);
|
|
|
|
|
|
|
|
ThrDeptEntity thrDeptEntity = thrDeptService.selectByCode(filterThrSubInvWarehouseRequest.getParentId(), filterThrSubInvWarehouseRequest.getThirdSysFk());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (ThrInvWarehouseEntity thrInvWarehouseEntity : thrInvWarehouseEntities) {
|
|
|
|
|
|
|
|
thrInvWarehouseEntity.setParentName(thrDeptEntity.getName());
|
|
|
|
|
|
|
|
}
|
|
|
|
PageInfo<ThrInvWarehouseEntity> pageInfo;
|
|
|
|
PageInfo<ThrInvWarehouseEntity> pageInfo;
|
|
|
|
pageInfo = new PageInfo<>(thrInvWarehouseEntities);
|
|
|
|
pageInfo = new PageInfo<>(thrInvWarehouseEntities);
|
|
|
|
PageSimpleResponse<ThrInvWarehouseEntity> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
PageSimpleResponse<ThrInvWarehouseEntity> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|