| | |
| | | import com.nq.pojo.UserPosition; |
| | | import com.nq.vo.position.PositionProfitVO; |
| | | import com.nq.vo.position.PositionVO; |
| | | import com.nq.vo.position.UserPositionVO; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | public interface IUserPositionService { |
| | | ServerResponse buy(Integer paramInteger1, Integer paramInteger2, Integer paramInteger3, Integer paramInteger4,BigDecimal paramInteger5,BigDecimal paramInteger6, HttpServletRequest paramHttpServletRequest) throws Exception; |
| | | ServerResponse buy(Integer paramInteger1, Integer paramInteger2, Integer paramInteger3, |
| | | Integer paramInteger4,BigDecimal paramInteger5,BigDecimal paramInteger6, HttpServletRequest paramHttpServletRequest) ; |
| | | |
| | | ServerResponse sell(String paramString, int paramInt) throws Exception ; |
| | | ServerResponse sell(String paramString, int paramInt); |
| | | ServerResponse sell(String paramString, int paramInt, HttpServletRequest request); |
| | | |
| | | ServerResponse allSell(HttpServletRequest request,String stockType)throws Exception; |
| | | |
| | | ServerResponse lock(Integer paramInteger1, Integer paramInteger2, String paramString); |
| | | |
| | | ServerResponse del(Integer paramInteger); |
| | | |
| | | |
| | | |
| | | UserPositionVO findByPostionSn(String positionSn); |
| | | ServerResponse<PageInfo> findMyPositionByCodeAndSpell(String paramString1, String paramString2, Integer paramInteger, |
| | | HttpServletRequest paramHttpServletRequest, |
| | | int paramInt1, int paramInt2,String stockType); |
| | |
| | | |
| | | 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); |
| | | |
| | |
| | | |
| | | ServerResponse addmargin(String paramString, int paramInt, BigDecimal marginAdd) throws Exception; |
| | | |
| | | PositionProfitVO getPositionProfitVO(UserPosition position); |
| | | |
| | | |
| | | ServerResponse newStockToPosition(Integer id); |
| | |
| | | |
| | | 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) throws Exception; |
| | | |
| | | ServerResponse buyStockDzList(HttpServletRequest request); |
| | | |
| | | void stockConstraint(List<UserPosition> userPositions); |
| | | } |