From f4944280bfc25b38f8d1f3c3d20d965635b57f29 Mon Sep 17 00:00:00 2001 From: Leon <3066758958@qq.com> Date: Tue, 31 Aug 2021 18:18:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesnac/quartz/controller/SystemJobController.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/quartz/src/main/java/com/foreverwin/mesnac/quartz/controller/SystemJobController.java b/quartz/src/main/java/com/foreverwin/mesnac/quartz/controller/SystemJobController.java index 763616f0..f4fc7719 100644 --- a/quartz/src/main/java/com/foreverwin/mesnac/quartz/controller/SystemJobController.java +++ b/quartz/src/main/java/com/foreverwin/mesnac/quartz/controller/SystemJobController.java @@ -86,17 +86,17 @@ public class SystemJobController { * @param systemJobDTO 传递的实体 * @return null 失败 实体成功 */ - @PostMapping + @PostMapping("/save") public R save(@RequestBody SystemJobDTO systemJobDTO) { return R.ok(systemJobService.save(systemJobDTO)); } /** * 修改 - * @param systemJob 传递的实体 + * @param systemJobDTO 传递的实体 * @return null 失败 实体成功 */ - @PutMapping + @PostMapping("/update") public R updateById(@RequestBody SystemJobDTO systemJobDTO) { return R.ok(systemJobService.updateById(systemJobDTO)); } @@ -107,8 +107,8 @@ public class SystemJobController { * @return 0 失败 1 成功 */ @ResponseBody - @RequestMapping(method = RequestMethod.DELETE, value = "/{id:.+}") - public R removeById(@PathVariable("id") String id){ + @GetMapping("/delete") + public R removeById(String id){ return R.ok(systemJobService.removeById(id)); } From 8ed7b09b2d1fed8ddcebbdd582bcc75527f75f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=98=89=E4=BC=9F?= <1724121454@qq.com> Date: Tue, 31 Aug 2021 18:18:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=BE=85=E5=8A=9E=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../anomaly/service/impl/AbnormalBillServiceImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillServiceImpl.java b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillServiceImpl.java index 2bb7a964..8e971d66 100644 --- a/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillServiceImpl.java +++ b/anomaly/src/main/java/com/foreverwin/mesnac/anomaly/service/impl/AbnormalBillServiceImpl.java @@ -506,7 +506,11 @@ public class AbnormalBillServiceImpl extends ServiceImpl