puzhibing
2023-06-30 f58cca364b731eac2d60a440ffaa804be3cd43fd
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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.stylefeng.guns.modular.system.controller.resp.TAgentResp;
import com.stylefeng.guns.modular.system.model.TAgent;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.ui.Model;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 代理商 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2023-02-20
 */
public interface ITAgentService extends IService<TAgent> {
 
    /**
     * 获取代理商查询wrapper
     * @param principal
     * @param principalPhone
     * @param createTime
     * @return
     */
    EntityWrapper<TAgent> getAgentWrapper(String principal, String principalPhone, String createTime,Integer status);
 
    /**
     * 代理商查看详情
     * @param agentId
     * @param model
     */
    void detail(Integer agentId, Model model);
 
    List<TAgentResp> getAgentResp(List<TAgent> tAgents);
 
    /**
     * 统计代理商
     * @param agentId
     * @param model
     */
    void getDataStatistics(Integer agentId, Model model, Map<String, Object> map);
 
    /**
     * 统计代理商
     * @param ids
     * @param model
     * @param map
     */
    void getDataStatisticsByIds(List<Integer> ids, Model model, Map<String, Object> map);
}