@GetMapping(“/khxx”) public String getCustomerInfo(@RequestParam(“acceptanceCustomerId”)…
- User
@GetMapping(“/khxx”) public String getCustomerInfo(@RequestParam(“acceptanceCustomerId”) Long acceptanceCustomerId, Model model) { AcceptanceCustomer acceptanceCustomer = acceptanceCustomerService.findKhxx(acceptanceCustomerId); model.addAttribute(“acceptanceCustomer”, acceptanceCustomer); return FebsUtil.view(“bw/acceptanceCustomer/khxx”); }如果我想用这个方法,我的这个html怎么改
h1 { color: #333; margin-bottom: 20px; }
.container { max-width: 600px; margin: 0 auto; }
.customer-info { background-color: #f9f9f9; padding: 20px; border-radius: 5px; margin-bottom: 20px; }
.customer-info p { margin: 10px 0; }
.status-buttons { margin-bottom: 20px; }
.status-buttons button { background-color: #007bff; color: #fff; border: none; border-radius: 5px; padding: 10px 20px; margin-right: 10px; cursor: pointer; }
.confirmation-section { display: none; margin-bottom: 20px; }
.confirmation-section p { margin-bottom: 10px; }
.confirmation-section button { background-color: #28a745; color: #fff; border: none; border-radius: 5px; padding: 10px 20px; margin-right: 10px; cursor: pointer; }
.confirmation-section button.cancel { background-color: #dc3545; }
.alert { background-color: #f8d7da; color: #721c24; padding: 10px; margin-bottom: 20px; border-radius: 5px; }
.alert.success { background-color: #d4edda; color: #155724; }
- Assistant