From 3647aa5008055528f075ee73002542a1399575ae Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 19 三月 2025 14:45:39 +0800
Subject: [PATCH] 单点登录调整
---
inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java b/inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java
index 44a6ab4..f58154e 100644
--- a/inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java
+++ b/inspect-server/src/main/java/com/ruoyi/inspect/controller/InsOrderController.java
@@ -151,8 +151,7 @@
@ApiOperation(value = "璐圭敤缁熻鑾峰彇鎬讳环")
@GetMapping("/costStatistics2")
- public Result<?> costStatistics2(@RequestBody Map<String, Object> data) throws Exception {
- CostStatisticsDto costStatisticsDto = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), CostStatisticsDto.class);
+ public Result<?> costStatistics2( CostStatisticsDto costStatisticsDto) throws Exception {
return Result.success(insOrderService.costStatistics2(costStatisticsDto));
}
@@ -307,9 +306,7 @@
@ApiOperation(value = "鏌ョ湅璐圭敤缁熻鍒楄〃")
@GetMapping("/costStatistics")
- public Result<?> costStatistics(@RequestBody Map<String, Object> data) throws Exception {
- Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class);
- CostStatisticsDto costStatisticsDto = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), CostStatisticsDto.class);
+ public Result<?> costStatistics(Page page,CostStatisticsDto costStatisticsDto) throws Exception {
return Result.success(insOrderService.costStatistics(page, costStatisticsDto));
}
@@ -326,4 +323,4 @@
public Result permute(Integer num, Boolean isValue) {
return Result.success(insOrderService.permute(num,isValue));
}
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3