1
zj
2024-09-04 8a3f4a7f9df7d215bfa6048f01fe1d1d28e7d0dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.nq.service;
 
import com.nq.common.ServerResponse;
import com.nq.pojo.UserPendingorder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nq.vo.position.UserPendingorderVO;
 
import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
 
/**
* @author Administrator
* @description 针对表【user_pendingorder】的数据库操作Service
* @createDate 2022-11-10 06:10:40
*/
public interface UserPendingorderService extends IService<UserPendingorder> {
 
    ServerResponse addOrder(String stockId, Integer buyNum, Integer buyType, Integer lever, BigDecimal profitTarget, BigDecimal stopTarget, BigDecimal targetPrice, HttpServletRequest request);
 
    ServerResponse orderList( HttpServletRequest request);
 
    void orderTask();
 
    ServerResponse delOrder(Integer id, HttpServletRequest request);
 
 
    ServerResponse orderListByAdmin(int pageNum, int pageSize, String keywords, Integer status, HttpServletRequest request);
 
    ServerResponse updateOrderByAdmin(UserPendingorder userPendingorder);
 
    ServerResponse addOrderByAdmin(String phone, String buyNum,String code, String buyType, String lever, String targetPrice, HttpServletRequest request);
 
    ServerResponse delOrderByAdmin(Integer id);
 
    ServerResponse examine(Integer id);
}