瀏覽代碼

报告删除功能

沈永艺 2 年之前
父節點
當前提交
fa64fcaac9
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      RMS/src/main/java/cn/cslg/report/service/business/ReportService.java

+ 5 - 0
RMS/src/main/java/cn/cslg/report/service/business/ReportService.java

@@ -119,4 +119,9 @@ public class ReportService extends ServiceImpl<ReportMapper, Report> {
 
         return reports;
     }
+    public String reportDele(int id) throws IOException{
+        this.removeById(id);
+        return Response.success();
+    }
+
 }