@Test public void update() throws IOException { String request = loadJson("itemcreaterequest"); ItemUpdateRequest rpcReq = JSON.parseObject(request, ItemUpdateRequest.class); rpcReq.getItemDetailParam().setItemId(3L); ICResponse<Boolean> update = itemWriteService.update(rpcReq); Assert.assertTrue(update.getResult()); }
@Override public ICResponse<Boolean> update(ItemUpdateRequest request) { log.info("##update request param:{}", JSON.toJSONString(request)); ICResponse<Boolean> update = itemWriteFacade.update(request); return update; }
ItemWriteService implements ItemWriteFacade { @Override public ICResponse<Boolean> update(ItemUpdateRequest request) { log.info("##update request param:{}", JSON.toJSONString(request)); ICResponse<Boolean> update = itemWriteFacade.update(request); return update; } }
ItemWriteService implements ItemWriteFacade { @Override public ICResponse<Boolean> update(ItemUpdateRequest request) { log.info("##update request param:{}", JSON.toJSONString(request)); ICResponse<Boolean> update = itemWriteFacade.update(request); return update; }  }
ItemWriteService implements ItemWriteFacade { @Override public ICResponse<Boolean> update(ItemUpdateRequest request) { log.info("##update request param:{}", JSON.toJSONString(request)); ICResponse<Boolean> update = itemWriteFacade.update(request); return update; }  @Override ICResponse<Long> create(ItemCreateRequest request); @Override ICResponse<Boolean> update(ItemUpdateRequest request); @Override ICResponse<Boolean> delete(ItemDeleteRequest request); @Override ICResponse<Boolean> sellerUpdateStatus(ItemUpdateStatusRequest request); }
ItemWriteService implements ItemWriteFacade { @Override public ICResponse<Boolean> update(ItemUpdateRequest request) { log.info("##update request param:{}", JSON.toJSONString(request)); ICResponse<Boolean> update = itemWriteFacade.update(request); return update; }  @Override ICResponse<Long> create(ItemCreateRequest request); @Override ICResponse<Boolean> update(ItemUpdateRequest request); @Override ICResponse<Boolean> delete(ItemDeleteRequest request); @Override ICResponse<Boolean> sellerUpdateStatus(ItemUpdateStatusRequest request);  }