| | |
| | | package com.yami.trading.service.dz; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.yami.trading.bean.dz.ExchangeApplyOrderDz; |
| | | import com.yami.trading.bean.dz.StockDz; |
| | | import com.yami.trading.common.domain.Result; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | public interface StockDzService extends IService<StockDz> { |
| | | |
| | | |
| | | Result getDzList(int pageNum, int pageSize, String orderBy, String keyWords, String stockType); |
| | | |
| | | Result addByAdmin(String stockCode, String stockNum, String password, String startTime, String endTime, String discount,Integer period,String nowPrice,Integer switchType); |
| | | Result addByAdmin(String stockCode, String stockNum, String password, String startTime, String endTime, String discount,Integer period,String nowPrice,Integer switchType, String stockType); |
| | | |
| | | Result getDzListByAdmin(int pageNum, int pageSize, String keywords, String stockType); |
| | | |
| | |
| | | |
| | | Result getDzOrderList(int pageNum, int pageSize, String state, String userId, String stockType); |
| | | |
| | | Result getDzCheckList(int pageNum, int pageSize, String state, String stockCode, String stockType); |
| | | Result getDzCheckList(int pageNum, int pageSize, String state, String stockCode, String stockType, List<String> checkedList); |
| | | |
| | | Result buyDz(String dzId, String password, double num, String partyId); |
| | | |
| | | Result dzCheck(String id, Integer checkType, Double num); |
| | | Result dzCheck(String id, Integer checkType, Double num, double price); |
| | | |
| | | public void intoPosition(ExchangeApplyOrderDz orderDz, String stockType); |
| | | |
| | | Result closeDz(String id, Double num, String partyId); |
| | | |
| | | } |