@Test public void queryItemForEdit() { FullItemWithDetailQueryRequest request = FullItemWithDetailQueryRequest.builder() .itemId(1L).build(); ICResponse<FullItemWithDetailInfo> fullItemWithDetailInfoICResponse = itemReadService.queryFullItemWithDetail(request); Assert.assertTrue(fullItemWithDetailInfoICResponse.isSuccess()); System.out.println(JSON.toJSONString(fullItemWithDetailInfoICResponse)); }
@Override public ICResponse<FullItemWithDetailInfo> queryItemForEdit(FullItemQueryRequest request) { if (request == null) { throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullItemWithDetailInfo> fullItemWithDetailInfoICResponse = itemReadFacade.queryItemForEdit(request); return fullItemWithDetailInfoICResponse; }
ItemReadService implements ItemReadFacade { @Override public ICResponse<FullItemWithDetailInfo> queryItemForEdit(FullItemQueryRequest request) { if (request == null) { throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullItemWithDetailInfo> fullItemWithDetailInfoICResponse = itemReadFacade.queryItemForEdit(request); return fullItemWithDetailInfoICResponse; } }
ItemReadService implements ItemReadFacade { @Override public ICResponse<FullItemWithDetailInfo> queryItemForEdit(FullItemQueryRequest request) { if (request == null) { throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullItemWithDetailInfo> fullItemWithDetailInfoICResponse = itemReadFacade.queryItemForEdit(request); return fullItemWithDetailInfoICResponse; }  }
ItemReadService implements ItemReadFacade { @Override public ICResponse<FullItemWithDetailInfo> queryItemForEdit(FullItemQueryRequest request) { if (request == null) { throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullItemWithDetailInfo> fullItemWithDetailInfoICResponse = itemReadFacade.queryItemForEdit(request); return fullItemWithDetailInfoICResponse; }  @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); }
ItemReadService implements ItemReadFacade { @Override public ICResponse<FullItemWithDetailInfo> queryItemForEdit(FullItemQueryRequest request) { if (request == null) { throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<FullItemWithDetailInfo> fullItemWithDetailInfoICResponse = itemReadFacade.queryItemForEdit(request); return fullItemWithDetailInfoICResponse; }  @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);  }