| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.basic.dto.CustomerDto; |
| | | import com.ruoyi.basic.pojo.Customer; |
| | | import com.ruoyi.basic.vo.CustomerVo; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 客户档案Service接口 |
| | |
| | | Customer selectCustomerById(Long id); |
| | | |
| | | /** |
| | | * 查询客户详情(含跟进记录和附件) |
| | | * |
| | | * @param id 客户档案主键 |
| | | * @return 客户详情DTO |
| | | */ |
| | | CustomerVo selectCustomerDetailById(Long id); |
| | | |
| | | /** |
| | | * 查询客户档案列表 |
| | | * |
| | | * @param customer 客户档案 |
| | | * @return 客户档案集合 |
| | | */ |
| | | IPage<Customer> selectCustomerList(Page page, Customer customer); |
| | | |
| | | /** |
| | | * 新增客户档案 |
| | |
| | | * |
| | | * @return 结果 |
| | | */ |
| | | List customerList(Customer customer); |
| | | List<Map<String, Object>> customerList(Customer customer); |
| | | |
| | | List<Customer> selectCustomerLists(Customer customer); |
| | | List<CustomerVo> selectCustomerLists(CustomerDto customer); |
| | | |
| | | Boolean importData(MultipartFile file); |
| | | } |
| | | AjaxResult importData(MultipartFile file, Integer type); |
| | | |
| | | IPage<CustomerVo> selectCustomerList(Page<CustomerDto> page, CustomerDto customer); |
| | | |
| | | void assignCustomer(CustomerDto customer); |
| | | |
| | | void recycleCustomer(CustomerDto customer); |
| | | |
| | | /** |
| | | * 共享客户给其他用户 |
| | | * |
| | | * @param customerDto 客户DTO(包含客户ID和共享用户ID列表) |
| | | */ |
| | | void together(CustomerDto customerDto); |
| | | } |