@Test public void testListsystemsetting() throws Exception { ResultActions results = mockMvc .perform(MockMvcRequestBuilders.post("/settlementservice/settingservice/v1/listsystemsetting") ) .andExpect(status().isOk()); results.andDo(new ResultHandler() { @Override public void handle(MvcResult result) throws Exception { System.out.println("*********" + result.getResponse().getContentAsString()); } }); }
@PostMapping(value="/listsystemsetting") public ResBodyData listsystemsetting(EcmSystemSetting systemSetting){ List<EcmSystemSetting> systemSettingList = settingService.listsystemsetting(systemSetting); return SettlementUtil.success(systemSettingList); }
SettingController { @PostMapping(value="/listsystemsetting") public ResBodyData listsystemsetting(EcmSystemSetting systemSetting){ List<EcmSystemSetting> systemSettingList = settingService.listsystemsetting(systemSetting); return SettlementUtil.success(systemSettingList); } }
SettingController { @PostMapping(value="/listsystemsetting") public ResBodyData listsystemsetting(EcmSystemSetting systemSetting){ List<EcmSystemSetting> systemSettingList = settingService.listsystemsetting(systemSetting); return SettlementUtil.success(systemSettingList); }  }
SettingController { @PostMapping(value="/listsystemsetting") public ResBodyData listsystemsetting(EcmSystemSetting systemSetting){ List<EcmSystemSetting> systemSettingList = settingService.listsystemsetting(systemSetting); return SettlementUtil.success(systemSettingList); }  @PostMapping(value="/updatesystemsetting") ResBodyData updatesystemsetting(@Validated EcmSystemSetting systemSetting); @PostMapping(value="/listsystemsetting") ResBodyData listsystemsetting(EcmSystemSetting systemSetting); }
SettingController { @PostMapping(value="/listsystemsetting") public ResBodyData listsystemsetting(EcmSystemSetting systemSetting){ List<EcmSystemSetting> systemSettingList = settingService.listsystemsetting(systemSetting); return SettlementUtil.success(systemSettingList); }  @PostMapping(value="/updatesystemsetting") ResBodyData updatesystemsetting(@Validated EcmSystemSetting systemSetting); @PostMapping(value="/listsystemsetting") ResBodyData listsystemsetting(EcmSystemSetting systemSetting);  }