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

@@ -206,7 +206,7 @@ public class ApiChangeNotifier {
tag = MarkdownStyles.colorWarning("[重命名]");
break;
case MODIFIED:
tag = MarkdownStyles.colorWarning(change.isBodyField() ? "[修改]" : "[类型变更]");
tag = MarkdownStyles.colorWarning("[类型变更]");
break;
default:
tag = MarkdownStyles.colorWarning("[修改]");

Binary file not shown.

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);