|
|
|
@ -119,9 +119,20 @@ public class BussinessTypeController {
|
|
|
|
|
bussinessTypeFilterRequest.setAdvanceType(bussinessLocalTypeEntity.isAdvanceType());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//查询该仓库绑定的单据
|
|
|
|
|
List<WarehouseBussinessTypeEntity> warehouseBussinessTypeEntityList=warehouseBussinessTypeService.getListByCode(bussinessTypeFilterRequest.getCode());
|
|
|
|
|
|
|
|
|
|
List<BussinessTypResponse> bussinessTypeEntities;
|
|
|
|
|
bussinessTypeEntities = bussinessTypeService.filterJoinList(bussinessTypeFilterRequest);
|
|
|
|
|
for (BussinessTypResponse w1:bussinessTypeEntities){
|
|
|
|
|
for (WarehouseBussinessTypeEntity w2:warehouseBussinessTypeEntityList){
|
|
|
|
|
if(w1.getAction().equals(w2.getAction())){
|
|
|
|
|
w1.setCheckSelect(true);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PageInfo<BussinessTypResponse> pageInfo;
|
|
|
|
|
pageInfo = new PageInfo<>(bussinessTypeEntities);
|
|
|
|
|
PageSimpleResponse<BussinessTypResponse> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
|