@Test public void testQueryDrawCashById() throws Exception { ResultActions results = mockMvc.perform(MockMvcRequestBuilders .post("/settlementservice/drawservice/v1/querydrawcashbyid").param("drawCode", "QZ44030817032700")) .andExpect(status().isOk()); results.andDo(new ResultHandler() { @Override public void handle(MvcResult result) throws Exception { System.out.println("*********" + result.getResponse().getContentAsString()); } }); }
@PostMapping(value="/querydrawcashbyid") public ResBodyData queryDrawCashById(String drawCode) { EcmMzfDraw drawDetail = drawService.queryDrawCashById(drawCode); return SettlementUtil.success(drawDetail); }
DrawController { @PostMapping(value="/querydrawcashbyid") public ResBodyData queryDrawCashById(String drawCode) { EcmMzfDraw drawDetail = drawService.queryDrawCashById(drawCode); return SettlementUtil.success(drawDetail); } }
DrawController { @PostMapping(value="/querydrawcashbyid") public ResBodyData queryDrawCashById(String drawCode) { EcmMzfDraw drawDetail = drawService.queryDrawCashById(drawCode); return SettlementUtil.success(drawDetail); }  }
DrawController { @PostMapping(value="/querydrawcashbyid") public ResBodyData queryDrawCashById(String drawCode) { EcmMzfDraw drawDetail = drawService.queryDrawCashById(drawCode); return SettlementUtil.success(drawDetail); }  @PostMapping(value="/queryaccoutbalance") ResBodyData queryAccoutBalance(String code); @PostMapping(value = "/drawcash") ResBodyData drawCash(@Validated EcmMzfDraw ecmMzfDraw); @PostMapping(value = "/querydrawcash") ResBodyData queryDrawCash(
			@RequestParam(value = "pageNumber", defaultValue = "1") int pageNumber,
			@RequestParam(value = "pageSize", defaultValue = "20") int pageSize,
			@RequestParam(value = "type", defaultValue = "list") String type,
			@RequestParam Map<String, Object> params); @PostMapping(value="/querydrawcashbyid") ResBodyData queryDrawCashById(String drawCode); @PostMapping(value="/verifydrawcashbyid") ResBodyData verifyDrawCashById(EcmMzfDraw ecmmzfdraw); @PostMapping(value="/rejectdrawcashbyid") ResBodyData rejectDrawCashById(EcmMzfDraw ecmmzfdraw); @PostMapping(value="/confirmdrawcashbyidbytype") ResBodyData confirmDrawCashByIdByType(EcmMzfDraw ecmmzfdraw); }
DrawController { @PostMapping(value="/querydrawcashbyid") public ResBodyData queryDrawCashById(String drawCode) { EcmMzfDraw drawDetail = drawService.queryDrawCashById(drawCode); return SettlementUtil.success(drawDetail); }  @PostMapping(value="/queryaccoutbalance") ResBodyData queryAccoutBalance(String code); @PostMapping(value = "/drawcash") ResBodyData drawCash(@Validated EcmMzfDraw ecmMzfDraw); @PostMapping(value = "/querydrawcash") ResBodyData queryDrawCash(
			@RequestParam(value = "pageNumber", defaultValue = "1") int pageNumber,
			@RequestParam(value = "pageSize", defaultValue = "20") int pageSize,
			@RequestParam(value = "type", defaultValue = "list") String type,
			@RequestParam Map<String, Object> params); @PostMapping(value="/querydrawcashbyid") ResBodyData queryDrawCashById(String drawCode); @PostMapping(value="/verifydrawcashbyid") ResBodyData verifyDrawCashById(EcmMzfDraw ecmmzfdraw); @PostMapping(value="/rejectdrawcashbyid") ResBodyData rejectDrawCashById(EcmMzfDraw ecmmzfdraw); @PostMapping(value="/confirmdrawcashbyidbytype") ResBodyData confirmDrawCashByIdByType(EcmMzfDraw ecmmzfdraw);  }