| | |
| | | import com.google.common.collect.Lists; |
| | | import com.nq.common.ServerResponse; |
| | | import com.nq.utils.timeutil.DateTimeUtil; |
| | | import com.nq.utils.KeyUtils; |
| | | import com.nq.utils.stock.BuyAndSellUtils; |
| | | import com.nq.vo.agent.AgentIncomeVO; |
| | | import com.nq.vo.futuresposition.AdminFuturesPositionVO; |
| | | import com.nq.vo.futuresposition.AgentFuturesPositionVO; |
| | |
| | | |
| | | @Resource |
| | | AgentUserMapper agentUserMapper; |
| | | |
| | | @Autowired |
| | | IStockCoinService iStockCoinService; |
| | | @Resource |
| | | UserMapper userMapper; |
| | | @Resource |
| | | UserCashDetailMapper userCashDetailMapper; |
| | | @Autowired |
| | | ISiteFuturesSettingService iSiteFuturesSettingService; |
| | | @Resource |
| | | StockFuturesMapper stockFuturesMapper; |
| | | @Autowired |
| | | ISiteProductService iSiteProductService; |
| | | |
| | | @Transactional |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public ServerResponse buyFutures(Integer futuresId, Integer buyNum, Integer buyType, Integer lever, HttpServletRequest request) throws Exception { |
| | | |
| | | |