@Test public void queryFullCityItemWithDetail() { FullCityItemWithDetailQueryRequest request = new FullCityItemWithDetailQueryRequest(); request.setItemId(1L); request.setCityId(30L); ICResponse<FullCityItemWithDetailInfo> fullCityItemWithDetailInfoICResponse = cityItemReadService.queryFullCityItemWithDetail(request); printJson(fullCityItemWithDetailInfoICResponse); assertNotNull(fullCityItemWithDetailInfoICResponse); assertTrue(fullCityItemWithDetailInfoICResponse.isSuccess()); }
@Override public ICResponse<FullCityItemWithDetailInfo> queryFullCityItemWithDetail(FullCityItemWithDetailQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemWithDetailInfo> fullCityItemWithDetailInfoICResponse = cityItemReadFacade.queryFullCityItemWithDetail(request); return fullCityItemWithDetailInfoICResponse; }
CityItemReadService implements CityItemReadFacade { @Override public ICResponse<FullCityItemWithDetailInfo> queryFullCityItemWithDetail(FullCityItemWithDetailQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemWithDetailInfo> fullCityItemWithDetailInfoICResponse = cityItemReadFacade.queryFullCityItemWithDetail(request); return fullCityItemWithDetailInfoICResponse; } }
CityItemReadService implements CityItemReadFacade { @Override public ICResponse<FullCityItemWithDetailInfo> queryFullCityItemWithDetail(FullCityItemWithDetailQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemWithDetailInfo> fullCityItemWithDetailInfoICResponse = cityItemReadFacade.queryFullCityItemWithDetail(request); return fullCityItemWithDetailInfoICResponse; }  }
CityItemReadService implements CityItemReadFacade { @Override public ICResponse<FullCityItemWithDetailInfo> queryFullCityItemWithDetail(FullCityItemWithDetailQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemWithDetailInfo> fullCityItemWithDetailInfoICResponse = cityItemReadFacade.queryFullCityItemWithDetail(request); return fullCityItemWithDetailInfoICResponse; }  @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<FullCityItemWithDetailInfo> queryFullCityItemWithDetail(FullCityItemWithDetailQueryRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullCityItemWithDetailInfo> fullCityItemWithDetailInfoICResponse = cityItemReadFacade.queryFullCityItemWithDetail(request); return fullCityItemWithDetailInfoICResponse; }  @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);  }