ItemReadService implements ItemReadFacade { @Override public ICResponse<FullItemWithDetailInfo> queryFullItemWithDetail(FullItemWithDetailQueryRequest request) { if (request == null) { throw new IllegalArgumentException("request is null"); } request.checkParam(); try { ICResponse<FullItemWithDetailInfo> fullItemWithDetailInfoICResponse = itemReadFacade.queryFullItemWithDetail(request); return fullItemWithDetailInfoICResponse; } catch (Exception e) { return ICResponse.fail(e.getMessage()); } }  @Override ICResponse<Paging<ItemInfoDTO>> paging(ItemPagingRequest request); @Override ICResponse<FullItemInfo> queryFullItem(FullItemQueryRequest request); @Override ICResponse<FullItemWithDetailInfo> queryItemForEdit(FullItemQueryRequest request); @Override ICResponse<FullItemWithDetailInfo> queryFullItemWithDetail(FullItemWithDetailQueryRequest request);  }
@Test public void queryFullItemWithDetail() { FullItemQueryRequest request = new FullItemQueryRequest(); request.setItemId(1L); ICResponse<FullItemInfo> fullItemInfoICResponse = itemReadService.queryFullItem(request); Assert.assertTrue(fullItemInfoICResponse.isSuccess()); System.out.println(JSON.toJSONString(fullItemInfoICResponse)); }