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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user