| | |
| | | package com.ruoyi.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.basic.PageInfo; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.system.dto.TCrmBranchDTO; |
| | | import com.ruoyi.system.dto.TCrmSalespersonDTO; |
| | | import com.ruoyi.system.export.TCrmSalespersonExport; |
| | | import com.ruoyi.system.model.TCrmSalesperson; |
| | | import com.ruoyi.system.query.TCrmSalespersonQuery; |
| | | import com.ruoyi.system.vo.TCrmSalespersonVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface TCrmSalespersonService extends IService<TCrmSalesperson> { |
| | | |
| | | /** |
| | | * 获取crm业务员管理分页列表 |
| | | * |
| | | * @param query 查询参数 |
| | | * @return PageInfo<TCrmSalespersonVO> |
| | | */ |
| | | PageInfo<TCrmSalespersonVO> pageList(TCrmSalespersonQuery query); |
| | | |
| | | /** |
| | | * 新增crm业务员管理 |
| | | * |
| | | * @return List<TCrmSalesperson> |
| | | */ |
| | | R<Boolean> addSalesperson(TCrmSalespersonDTO dto); |
| | | |
| | | /** |
| | | * 修改crm业务员管理 |
| | | * |
| | | * @return List<TCrmSalesperson> |
| | | */ |
| | | R<Boolean> updateSalesperson(TCrmSalespersonDTO dto); |
| | | /** |
| | | * 判断分类是否存在 |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | boolean isExit(TCrmSalespersonDTO dto); |
| | | |
| | | /** |
| | | * crm业务员管理信息导出 |
| | | * |
| | | * @param query 查询参数 |
| | | */ |
| | | List<TCrmSalespersonExport> listExport(TCrmSalespersonQuery query); |
| | | |
| | | } |