请求方式

This commit is contained in:
zhn
2022-06-29 09:19:47 +08:00
parent 6c002ac29d
commit 41485cc394
@@ -107,7 +107,7 @@ public class LawsMonthlyReportManageEOController extends JeroController<LawsMont
*/
@AutoLog(value = "法规月报管理-通过id删除")
@ApiOperation(value="法规月报管理-通过id删除", notes="法规月报管理-通过id删除")
@DeleteMapping(value = "/delete")
@GetMapping(value = "/delete")
public Result<?> delete(@RequestParam(name="id",required=true) String id) {
lawsMonthlyReportManageEOService.deleteById(id);
return Result.OK("删除成功!");
@@ -121,7 +121,7 @@ public class LawsMonthlyReportManageEOController extends JeroController<LawsMont
*/
@AutoLog(value = "法规月报管理-批量删除")
@ApiOperation(value="法规月报管理-批量删除", notes="法规月报管理-批量删除")
@DeleteMapping(value = "/deleteBatch")
@GetMapping(value = "/deleteBatch")
public Result<?> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
this.lawsMonthlyReportManageEOService.deleteByIds(Arrays.asList(ids.split(",")));
return Result.OK("批量删除成功!");