@Test public void queryFullCityItem() { FullCityItemQueryRequest fullItemQueryRequest = new FullCityItemQueryRequest(); fullItemQueryRequest.setItemId(1L); fullItemQueryRequest.setCityId(30L); ICResponse<FullCityItemInfo> fullCityItemInfoICResponse = cityItemReadService.queryFullCityItem(fullItemQueryRequest); printJson(fullCityItemInfoICResponse); assertNotNull(fullCityItemInfoICResponse); assertTrue(fullCityItemInfoICResponse.isSuccess()); }
@Override public ICResponse<FullCityItemInfo> queryFullCityItem(FullCityItemQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemInfo> fullCityItemInfoICResponse = cityItemReadFacade.queryFullCityItem(request); return fullCityItemInfoICResponse; }
CityItemReadService implements CityItemReadFacade { @Override public ICResponse<FullCityItemInfo> queryFullCityItem(FullCityItemQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemInfo> fullCityItemInfoICResponse = cityItemReadFacade.queryFullCityItem(request); return fullCityItemInfoICResponse; } }
CityItemReadService implements CityItemReadFacade { @Override public ICResponse<FullCityItemInfo> queryFullCityItem(FullCityItemQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemInfo> fullCityItemInfoICResponse = cityItemReadFacade.queryFullCityItem(request); return fullCityItemInfoICResponse; }  }
CityItemReadService implements CityItemReadFacade { @Override public ICResponse<FullCityItemInfo> queryFullCityItem(FullCityItemQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemInfo> fullCityItemInfoICResponse = cityItemReadFacade.queryFullCityItem(request); return fullCityItemInfoICResponse; }  @Override ICResponse<Paging<CityItemInfoDTO>> paging(CityItemPagingRequest request); @Override ICResponse<FullCityItemInfo> queryFullCityItem(FullCityItemQueryRequest request); @Override ICResponse<FullCityItemWithDetailInfo> queryFullCityItemWithDetail(FullCityItemWithDetailQueryRequest request); @Override ICResponse<Map<Long, List<CityItemInfo>>> listItemCityRelations(CityItemListRelationRequest request); }
CityItemReadService implements CityItemReadFacade { @Override public ICResponse<FullCityItemInfo> queryFullCityItem(FullCityItemQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemInfo> fullCityItemInfoICResponse = cityItemReadFacade.queryFullCityItem(request); return fullCityItemInfoICResponse; }  @Override ICResponse<Paging<CityItemInfoDTO>> paging(CityItemPagingRequest request); @Override ICResponse<FullCityItemInfo> queryFullCityItem(FullCityItemQueryRequest request); @Override ICResponse<FullCityItemWithDetailInfo> queryFullCityItemWithDetail(FullCityItemWithDetailQueryRequest request); @Override ICResponse<Map<Long, List<CityItemInfo>>> listItemCityRelations(CityItemListRelationRequest request);  }