From d20d3b8e9add900543a6bb3b18cea2311263ee1f Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期二, 21 三月 2023 16:04:38 +0800
Subject: [PATCH] 提交
---
src/main/java/com/example/jz/controller/ReportController.java | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/example/jz/controller/ReportController.java b/src/main/java/com/example/jz/controller/ReportController.java
index d08477d..885cf77 100644
--- a/src/main/java/com/example/jz/controller/ReportController.java
+++ b/src/main/java/com/example/jz/controller/ReportController.java
@@ -14,6 +14,7 @@
import com.example.jz.modle.entity.Report;
import com.example.jz.modle.entity.User;
import com.example.jz.modle.vo.ReportListVo;
+import com.example.jz.modle.vo.ReportVXVO;
import com.example.jz.service.GroupUserService;
import com.example.jz.service.MessageService;
import com.example.jz.service.ReportService;
@@ -77,6 +78,13 @@
@ApiOperation(value = "閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁")
public R<ReportListVo> selectOne(@PathVariable Serializable id) {
return R.ok(reportService.getReportListVoById(id));
+ }
+
+ @GetMapping("/rejectReport/{id}")
+ @ApiOperation(value = "淇敼椹冲洖鍚庢帴鍙�")
+ public R<ReportVXVO> getOne(@PathVariable Integer id){
+ ReportVXVO res = reportService.getRejectReportById(id);
+ return R.ok(res);
}
/**
@@ -164,11 +172,11 @@
return R.ok();
}
- @ApiOperation(httpMethod = "POST", value = "妗堜欢鍙�-鎶ユ浜哄憳-鎶ユ鏉愭枡瀵煎嚭")
- @PostMapping("/exportReporter")
- @ApiResponse(message = "鎵ц鎴愬姛", code = 200)
- public void exportReport(@RequestParam(value = "id") Integer id, HttpServletResponse response) {
- reportService.exportReporter(id, response);
- }
+// @ApiOperation(httpMethod = "POST", value = "妗堜欢鍙�-鎶ユ浜哄憳-鎶ユ鏉愭枡瀵煎嚭")
+// @PostMapping("/exportReporter")
+// @ApiResponse(message = "鎵ц鎴愬姛", code = 200)
+// public void exportReport(@RequestParam(value = "id") Integer id, HttpServletResponse response) {
+// reportService.exportReporter(id, response);
+// }
}
--
Gitblit v1.8.0