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);
|
|
|
/**
|
* 获取汇总数据
|
* @param id
|
* @param time
|
* @return
|
*/
|
Map<String, Object> queryAgentSummaryData(Integer id, String time);
|
}
|