package com.nq.service; import com.nq.common.ServerResponse; import com.nq.pojo.UserFuturesPosition; import com.nq.vo.futuresposition.FuturesPositionVO; import java.util.List; import javax.servlet.http.HttpServletRequest; public interface IUserFuturesPositionService { ServerResponse buyFutures(Integer paramInteger1, Integer paramInteger2, Integer paramInteger3, Integer lever, HttpServletRequest paramHttpServletRequest) throws Exception; ServerResponse del(Integer paramInteger,HttpServletRequest request); ServerResponse sellFutures(String paramString, int paramInt,HttpServletRequest request) throws Exception; ServerResponse listByAdmin(Integer paramInteger1, Integer paramInteger2, Integer paramInteger3, Integer paramInteger4, String paramString1, String paramString2, String paramString3, int paramInt1, int paramInt2); ServerResponse lock(Integer paramInteger1, Integer paramInteger2, String paramString,HttpServletRequest request); ServerResponse findMyFuturesPositionByNameAndCode(String paramString1, String paramString2, Integer paramInteger, HttpServletRequest paramHttpServletRequest, int paramInt1, int paramInt2); ServerResponse listByAgent(Integer paramInteger1, Integer paramInteger2, Integer paramInteger3, Integer paramInteger4, String paramString1, String paramString2, String paramString3, HttpServletRequest paramHttpServletRequest, int paramInt1, int paramInt2); List findPositionByFuturesCodeAndTimes(int paramInt, String paramString, Integer paramInteger); Integer findPositionNumByTimes(int paramInt, Integer paramInteger); List findDistinctUserIdList(); List findFuturesPositionByUserIdAndSellPriceIsNull(Integer paramInteger); FuturesPositionVO findUserFuturesPositionAllProfitAndLose(Integer paramInteger); ServerResponse getFuturesIncome(Integer paramInteger1, Integer paramInteger2, String paramString1, String paramString2); ServerResponse findUserFuturesPositionByCode(HttpServletRequest paramHttpServletRequest, String futuresGid); }