50 lines
1.0 KiB
Java
50 lines
1.0 KiB
Java
|
|
package com.gear.oa.service;
|
||
|
|
|
||
|
|
import com.gear.oa.domain.GearCustomer;
|
||
|
|
import com.gear.oa.domain.vo.GearCustomerVo;
|
||
|
|
import com.gear.oa.domain.bo.GearCustomerBo;
|
||
|
|
import com.gear.common.core.page.TableDataInfo;
|
||
|
|
import com.gear.common.core.domain.PageQuery;
|
||
|
|
|
||
|
|
import java.util.Collection;
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* CRM 客户Service接口
|
||
|
|
*
|
||
|
|
* @author Joshi
|
||
|
|
* @date 2025-09-02
|
||
|
|
*/
|
||
|
|
public interface IGearCustomerService {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 查询CRM 客户
|
||
|
|
*/
|
||
|
|
GearCustomerVo queryById(Long customerId);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 查询CRM 客户列表
|
||
|
|
*/
|
||
|
|
TableDataInfo<GearCustomerVo> queryPageList(GearCustomerBo bo, PageQuery pageQuery);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 查询CRM 客户列表
|
||
|
|
*/
|
||
|
|
List<GearCustomerVo> queryList(GearCustomerBo bo);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 新增CRM 客户
|
||
|
|
*/
|
||
|
|
Boolean insertByBo(GearCustomerBo bo);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 修改CRM 客户
|
||
|
|
*/
|
||
|
|
Boolean updateByBo(GearCustomerBo bo);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 校验并批量删除CRM 客户信息
|
||
|
|
*/
|
||
|
|
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
||
|
|
}
|