zyy
2025-08-11 fd112c08c7bdc1b549c92d1e851f948c3410c502
src/main/java/com/nq/service/IUserPositionService.java
@@ -6,6 +6,7 @@
import com.nq.vo.position.PositionProfitVO;
import com.nq.vo.position.PositionVO;
import com.nq.vo.position.UserPositionVO;
import org.springframework.web.bind.annotation.RequestParam;
import java.math.BigDecimal;
import java.util.List;
@@ -16,7 +17,7 @@
                     Integer paramInteger4,BigDecimal paramInteger5,BigDecimal paramInteger6, HttpServletRequest paramHttpServletRequest) ;
  
  ServerResponse sell(String paramString, int paramInt);
  ServerResponse sell(String paramString, int paramInt,  HttpServletRequest request);
  ServerResponse sell(String paramString, int paramInt,Integer number,  HttpServletRequest request);
  ServerResponse allSell(HttpServletRequest request,String stockType)throws  Exception;
  
@@ -26,9 +27,14 @@
  UserPositionVO findByPostionSn(String  positionSn);
  ServerResponse<PageInfo> findMyPositionByCodeAndSpell(String paramString1, String paramString2, Integer paramInteger,
  ServerResponse findMyPositionByCodeAndSpell(String stockCode, String stockSpell,
                                                     Integer state, HttpServletRequest request,
                                                     int pageNum, int pageSize, String stockType);
  ServerResponse findMyPositionByParam(String paramString1, String paramString2, Integer paramInteger,
                                                        HttpServletRequest paramHttpServletRequest,
                                                        int paramInt1, int paramInt2,String stockType);
                                                        int paramInt1, int paramInt2,String stockType, Integer positionType);
  
  PositionVO findUserPositionAllProfitAndLose(Integer paramInteger);
@@ -44,7 +50,10 @@
  
  ServerResponse getIncome(Integer paramInteger1, Integer paramInteger2, String paramString1, String paramString2);
  
  ServerResponse listByAdmin(Integer paramInteger1, Integer paramInteger2, Integer paramInteger3, Integer paramInteger4, String paramString1, String paramString2, String paramString3, int paramInt1, int paramInt2);
  ServerResponse listByAdmin(Integer paramInteger1,
                             Integer paramInteger2, Integer paramInteger3,
                             Integer paramInteger4, String paramString1, String paramString2, String paramString3,
                             int paramInt1, int paramInt2,String phone);
  
  int CountPositionNum(Integer paramInteger1, Integer paramInteger2);
  
@@ -71,13 +80,21 @@
  ServerResponse newStockToPosition(Integer id);
  ServerResponse newStockToPosition(Integer id,BigDecimal amountToBeCovered);
  ServerResponse updateProfitTarget(String positionSn, Integer profitTarget, Integer stopTarget, HttpServletRequest request);
    ServerResponse buyVipQc(String stockCode, Integer buyNum, Integer buyType, Integer lever, BigDecimal profitTarget, BigDecimal stopTarget, HttpServletRequest request) throws Exception;
  ServerResponse buyVipQc(String stockCode, Integer buyNum, Integer buyType, Integer lever, BigDecimal profitTarget, BigDecimal stopTarget, HttpServletRequest request) throws Exception;
    ServerResponse buyDz(String stockCode, String password, Integer num, HttpServletRequest request) throws Exception;
  ServerResponse buyDz(Integer dzId, String password, Integer num, HttpServletRequest request);
  ServerResponse buyStockDzList(HttpServletRequest request);
  void stockConstraint(List<UserPosition> userPositions);
  ServerResponse getDzOrderList(int pageNum, int pageSize, Integer status, HttpServletRequest request);
  ServerResponse getMyPositionProfitAndLose(HttpServletRequest request);
  ServerResponse checkDz(Integer id, Integer checkType, Integer orderNum, HttpServletRequest request);
}