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; /** *
* 客户跟进接口 *
* * @author deslrey * @version 1.0 * @since 2026/03/04 14:48 */ public interface CustomerFollowUpService extends IService { /** * 新增客户跟进 */ boolean insertCustomerFollowUp(CustomerFollowUp customerFollowUp); /** * 修改客户跟进 */ int updateCustomerFollowUp(CustomerFollowUp customerFollowUp); /** * 批量删除客户跟进 */ int deleteCustomerFollowUpById(Integer id); /** * 根据客户ID删除所有跟进记录 */ void deleteByCustomerId(Long customerId); /** * 添加跟进附件 */ void addFollowUpFiles(List files, Integer followUpId); /** * 删除跟进附件 */ void deleteFollowUpFile(Integer fileId); /** * 获取跟进详情 */ CustomerFollowUpDto getFollowUpWithFiles(Integer id); }