Parcourir la source

报告删除功能

沈永艺 il y a 2 ans
Parent
commit
fa64fcaac9

+ 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();
+    }
+
 }