From b82ea69a5ee885f0a24ae92be482fb63da92d859 Mon Sep 17 00:00:00 2001
From: peter <14100000001@qq.com>
Date: Thu, 08 Jan 2026 13:58:13 +0800
Subject: [PATCH] 修改

---
 src/main/java/com/nq/pojo/UserPosition.java |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/nq/pojo/UserPosition.java b/src/main/java/com/nq/pojo/UserPosition.java
index 5ba480e..798d28e 100644
--- a/src/main/java/com/nq/pojo/UserPosition.java
+++ b/src/main/java/com/nq/pojo/UserPosition.java
@@ -26,6 +26,8 @@
     private BigDecimal buyOrderPrice;
     private String sellOrderId;
     private Date sellOrderTime;
+    private Integer status;
+    private Integer lockDays;
 
     public void setId(Integer id) {
         this.id = id;
@@ -343,7 +345,13 @@
     }
 
     @ConstructorProperties({"id", "positionType", "positionSn", "userId", "nickName", "agentId", "stockName", "stockCode", "stockGid", "stockSpell", "buyOrderId", "buyOrderTime", "buyOrderPrice", "sellOrderId", "sellOrderTime", "sellOrderPrice", "profitTargetPrice", "stopTargetPrice", "orderDirection", "orderNum", "orderLever", "orderTotalPrice", "orderFee", "orderSpread", "orderStayFee", "orderStayDays", "profitAndLose", "allProfitAndLose", "isLock", "lockMsg", "stockPlate", "spreadRatePrice", "marginAdd"})
-    public UserPosition(Integer id, Integer positionType, String positionSn, Integer userId, String nickName, Integer agentId, String stockName, String stockCode, String stockGid, String stockSpell, String buyOrderId, Date buyOrderTime, BigDecimal buyOrderPrice, String sellOrderId, Date sellOrderTime, BigDecimal sellOrderPrice, BigDecimal profitTargetPrice, BigDecimal stopTargetPrice, String orderDirection, Integer orderNum, Integer orderLever, BigDecimal orderTotalPrice, BigDecimal orderFee, BigDecimal orderSpread, BigDecimal orderStayFee, Integer orderStayDays, BigDecimal profitAndLose, BigDecimal allProfitAndLose, Integer isLock, String lockMsg, String stockPlate, BigDecimal spreadRatePrice, BigDecimal marginAdd) {
+    public UserPosition(Integer id, Integer positionType, String positionSn, Integer userId, String nickName, Integer agentId,
+                        String stockName, String stockCode, String stockGid, String stockSpell, String buyOrderId, Date buyOrderTime,
+                        BigDecimal buyOrderPrice, String sellOrderId, Date sellOrderTime, BigDecimal sellOrderPrice, BigDecimal profitTargetPrice,
+                        BigDecimal stopTargetPrice, String orderDirection, Integer orderNum, Integer orderLever, BigDecimal orderTotalPrice,
+                        BigDecimal orderFee, BigDecimal orderSpread, BigDecimal orderStayFee, Integer orderStayDays, BigDecimal profitAndLose,
+                        BigDecimal allProfitAndLose, Integer isLock, String lockMsg, String stockPlate, BigDecimal spreadRatePrice,
+                        BigDecimal marginAdd,Integer status,Integer lockDays) {
         this.id = id;
         this.positionType = positionType;
         this.positionSn = positionSn;
@@ -377,6 +385,8 @@
         this.stockPlate = stockPlate;
         this.spreadRatePrice = spreadRatePrice;
         this.marginAdd = marginAdd;
+        this.status = status;
+        this.lockDays = lockDays;
     }
 
 
@@ -528,5 +538,21 @@
     public void setBuyOrderIdIndex(BigDecimal buyOrderIdIndex) {
         this.buyOrderIdIndex = buyOrderIdIndex;
     }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public void setStatus(Integer status) {
+        this.status = status;
+    }
+
+    public Integer getLockDays() {
+        return lockDays;
+    }
+
+    public void setLockDays(Integer lockDays) {
+        this.lockDays = lockDays;
+    }
 }
 

--
Gitblit v1.9.3