From c6eddb4918edb92d78a04525d4e84867cc97f667 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Sat, 29 Nov 2025 18:46:52 +0800
Subject: [PATCH] 1

---
 trading-order-admin/src/main/java/com/yami/trading/admin/controller/dz/AdminStockDzController.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/trading-order-admin/src/main/java/com/yami/trading/admin/controller/dz/AdminStockDzController.java b/trading-order-admin/src/main/java/com/yami/trading/admin/controller/dz/AdminStockDzController.java
index 6cd1058..dbd88ec 100644
--- a/trading-order-admin/src/main/java/com/yami/trading/admin/controller/dz/AdminStockDzController.java
+++ b/trading-order-admin/src/main/java/com/yami/trading/admin/controller/dz/AdminStockDzController.java
@@ -50,10 +50,10 @@
                                      @RequestParam(value = "startTime") String startTime,
                                      @RequestParam(value = "endTime") String endTime,
                                      @RequestParam(value = "discount", required = false) String discount,
-                                     @RequestParam(value = "period") Integer period,
+                                     @RequestParam(value = "period", required = false) Integer period,
                                      @RequestParam(value = "nowPrice") String nowPrice,
                                      @RequestParam(value = "switchType", defaultValue = "0") Integer switchType) {
-        return stockDzService.addByAdmin(stockCode, stockNum, password, startTime, endTime, discount, period,nowPrice,switchType);
+        return stockDzService.addByAdmin(stockCode, stockNum, password, startTime, endTime, discount, period,nowPrice,switchType, Constants.US_STOCKS);
     }
 
     /**
@@ -76,25 +76,25 @@
 
 
     @ApiOperation("大宗交易审核列表")
-    @RequestMapping({"getDzCheckList.do"})
+    @PostMapping({"getDzCheckList.do"})
     @ResponseBody
     public Result getDzCheckList(@RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
                                   @RequestParam(value = "pageSize", defaultValue = "15") int pageSize,
                                   @RequestParam(value = "state", required = false) String state,
                                   @RequestParam(value = "stockCode", required = false)String stockCode) {
-        return stockDzService.getDzCheckList(pageNum, pageSize, state, stockCode, Constants.US_STOCKS);
+        return stockDzService.getDzCheckList(pageNum, pageSize, state, stockCode, Constants.US_STOCKS, null);
     }
 
-    //大宗审核
-    @RequestMapping({"dzCheck.do"})
+    @ApiOperation("大宗审核")
+    @PostMapping({"dzCheck.do"})
     @ResponseBody
     public Result check(@RequestParam(value = "id") String id,
                                 @RequestParam(value = "checkType") Integer checkType,
-                                @RequestParam(value = "orderNum") Double orderNum) {
+                                @RequestParam(value = "orderNum", required = false) Double orderNum) {
         if(checkType != 2 && (id == null || checkType == null || orderNum == null)){
             return Result.failed("参数不能为空");
         }
-        return stockDzService.dzCheck(id, checkType, orderNum);
+        return stockDzService.dzCheck(id, checkType, orderNum, 0);
     }
 
 }

--
Gitblit v1.9.3