1
zj
2024-06-13 a4662cc65a02f258062bf6cc392ceb1017db9292
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package com.yami.trading.service.trader;
 
import com.yami.trading.bean.trader.domain.TraderFollowUser;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 
import java.util.List;
import java.util.Map;
 
/**
 * 用户跟随交易员详情
 */
public interface TraderFollowUserService {
 
    /**
     * APP查询交易员列表
     * 
     * @param page
     * @param partyId profit_or_loss
     */
    public List<Map<String, Object>> getPaged(Page page, String partyId, String profit_or_loss);
 
    /**
     * 
     * @param entity
     * @param trader_id 交易员id
     */
    public void save(TraderFollowUser entity, String trader_id);
 
    public void save(TraderFollowUser entity);
 
    /**
     * 后台修改跟随参数
     * 
     * @param entity
     */
    public void update(TraderFollowUser entity);
 
    /**
     * 取消跟随
     */
    public void deleteCancel(String id);
 
    /**
     * 查询跟随交易员的用户
     */
    public List<TraderFollowUser> findByTrader_partyId(String trader_partyId);
 
    /**
     * 查询跟随交易员的某个用户
     */
    public TraderFollowUser findByPartyIdAndTrader_partyId(String partyId, String trader_partyId);
 
    /**
     * 查询用户跟随的所有交易员信息
     */
    public List<TraderFollowUser> findByPartyId(String partyId);
 
}