xuhy
2023-03-23 8a66f76e0b0af13ccdba14f1d38eed91139ca124
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
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;
 
/**
 * <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);
 
    /**
     * 代理商查看详情
     * @param agentId
     * @param model
     */
    void detail(Integer agentId, Model model);
 
    List<TAgentResp> getAgentResp(List<TAgent> tAgents);
}