PunishmentsApprovalDto-类对象参数 - 只改形参参数名
All checks were successful
CodeChecker 变更检测 / code-check (push) Successful in 26s
All checks were successful
CodeChecker 变更检测 / code-check (push) Successful in 26s
This commit is contained in:
@@ -206,7 +206,7 @@ public class ApiChangeNotifier {
|
|||||||
tag = MarkdownStyles.colorWarning("[重命名]");
|
tag = MarkdownStyles.colorWarning("[重命名]");
|
||||||
break;
|
break;
|
||||||
case MODIFIED:
|
case MODIFIED:
|
||||||
tag = MarkdownStyles.colorWarning(change.isBodyField() ? "[修改]" : "[类型变更]");
|
tag = MarkdownStyles.colorWarning("[类型变更]");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
tag = MarkdownStyles.colorWarning("[修改]");
|
tag = MarkdownStyles.colorWarning("[修改]");
|
||||||
|
|||||||
Binary file not shown.
@@ -156,7 +156,7 @@ public class RewardsPunishmentsApproveController {
|
|||||||
* @return java.lang.Object
|
* @return java.lang.Object
|
||||||
*/
|
*/
|
||||||
@PutMapping("/punishments/{id}")
|
@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);
|
PunishmentsApproval entity = JsonUtil.getJsonToBean(dto, PunishmentsApproval.class);
|
||||||
entity.setId(id);
|
entity.setId(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user