package com.ruoyi.basic.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ruoyi.basic.dto.CustomerFollowUpDto;
|
import com.ruoyi.basic.pojo.CustomerFollowUp;
|
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import java.util.List;
|
|
/**
|
* <br>
|
* 客户跟进接口
|
* </br>
|
*
|
* @author deslrey
|
* @version 1.0
|
* @since 2026/03/04 14:48
|
*/
|
public interface CustomerFollowUpService extends IService<CustomerFollowUp> {
|
/**
|
* 新增客户跟进
|
*/
|
boolean insertCustomerFollowUp(CustomerFollowUp customerFollowUp);
|
|
/**
|
* 修改客户跟进
|
*/
|
int updateCustomerFollowUp(CustomerFollowUp customerFollowUp);
|
|
/**
|
* 批量删除客户跟进
|
*/
|
int deleteCustomerFollowUpById(Integer id);
|
|
/**
|
* 根据客户ID删除所有跟进记录
|
*/
|
void deleteByCustomerId(Long customerId);
|
|
/**
|
* 添加跟进附件
|
*/
|
void addFollowUpFiles(List<MultipartFile> files, Integer followUpId);
|
|
/**
|
* 删除跟进附件
|
*/
|
void deleteFollowUpFile(Integer fileId);
|
|
/**
|
* 获取跟进详情
|
*/
|
CustomerFollowUpDto getFollowUpWithFiles(Integer id);
|
}
|