コード例 #1
0
 // 고객 아이디로 찾기
 @RequestMapping("/findById")
 public String findById(@RequestParam String csId, ModelMap model) {
   Customer customer = customerService.findCustomerById(csId);
   model.addAttribute("customer", customer);
   return "customer/customer_info.tiles";
 }
コード例 #2
0
 @RequestMapping("/logincheck/findByName")
 public String findByName(@RequestParam String csName, ModelMap model) {
   List<Customer> list = customerService.findCustomerByName(csName);
   model.addAttribute("namelist", list);
   return "customer/search_success.tiles";
 }