From 621f2eb73b862920a395a1b74d1fd9e4c26a85d3 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Tue, 06 May 2025 01:40:27 +0800
Subject: [PATCH] 1

---
 src/main/java/com/nq/controller/protol/UserPositionController.java |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/nq/controller/protol/UserPositionController.java b/src/main/java/com/nq/controller/protol/UserPositionController.java
index 03a95dd..6992e6b 100644
--- a/src/main/java/com/nq/controller/protol/UserPositionController.java
+++ b/src/main/java/com/nq/controller/protol/UserPositionController.java
@@ -29,9 +29,11 @@
                                 @RequestParam(value = "state", required = false) Integer state,
                                 @RequestParam(value = "stockCode", required = false) String stockCode,
                                 @RequestParam(value = "stockSpell", required = false) String stockSpell,
-                                @RequestParam(value = "stockType", required = false) String stockType
+                                @RequestParam(value = "stockType", required = false) String stockType,
+                                @RequestParam(value = "pendingStatus", required = false) Integer pendingStatus
+
                                 ) {
-         return this.iUserPositionService.findMyPositionByCodeAndSpell(stockCode, stockSpell, state, request, pageNum, pageSize,stockType);
+         return this.iUserPositionService.findMyPositionByCodeAndSpell(stockCode, stockSpell, state, request, pageNum, pageSize,stockType, pendingStatus);
      }
 
      //根据股票代码查询用户最早入仓股票
@@ -40,5 +42,12 @@
      public ServerResponse findUserPositionByCode(HttpServletRequest request, @RequestParam(value = "stockCode", required = false) String stockCode) {
          return this.iUserPositionService.findUserPositionByCode(request, stockCode);
      }
+
+
+     @RequestMapping({"findByPostionSn.do"})
+     @ResponseBody
+     public ServerResponse findByPostionSn(HttpServletRequest request, @RequestParam(value = "positionSn", required = false) String stockCode) {
+         return ServerResponse.createBySuccess(iUserPositionService.findByPostionSn(stockCode));
+     }
  }
 

--
Gitblit v1.9.3