PunishmentsApprovalDto-类对象参数 - 只改形参参数名
All checks were successful
CodeChecker 变更检测 / code-check (push) Successful in 26s

This commit is contained in:
2026-06-09 16:03:00 +08:00
parent a38245bb9b
commit 850f000f86
3 changed files with 2 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ public class RewardsPunishmentsApproveController {
* @return java.lang.Object
*/
@PutMapping("/punishments/{id}")
public Object updatePunishments(@RequestBody @Valid PunishmentsApprovalDto dto, @PathVariable("id") String id) {
public Object updatePunishments(@RequestBody @Valid PunishmentsApprovalDto dto11, @PathVariable("id") String id) {
PunishmentsApproval entity = JsonUtil.getJsonToBean(dto, PunishmentsApproval.class);
entity.setId(id);