package com.ruoyi.basic.service; import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.basic.pojo.Customer; import java.util.List; /** * 客户档案Service接口 * * @author ruoyi * @date 2025-05-07 */ public interface ICustomerService extends IService { /** * 查询客户档案 * * @param id 客户档案主键 * @return 客户档案 */ Customer selectCustomerById(Long id); /** * 查询客户档案列表 * * @param customer 客户档案 * @return 客户档案集合 */ List selectCustomerList(Customer customer); /** * 新增客户档案 * * @param customer 客户档案 * @return 结果 */ int insertCustomer(Customer customer); /** * 修改客户档案 * * @param customer 客户档案 * @return 结果 */ int updateCustomer(Customer customer); /** * 批量删除客户档案 * * @param ids 需要删除的客户档案主键集合 * @return 结果 */ int deleteCustomerByIds(Long[] ids); List selectCustomerListByIds(Long[] ids); /** * 查询客户信息 * * @return 结果 */ List customerList(Customer customer); }