package com.ruoyi.system.service;
|
|
import java.util.List;
|
import com.ruoyi.system.domain.SysContact;
|
|
/**
|
* 联系人Service接口
|
*
|
* @author ruoyi
|
* @date 2024-06-17
|
*/
|
public interface ISysContactService
|
{
|
/**
|
* 查询联系人
|
*
|
* @param id 联系人主键
|
* @return 联系人
|
*/
|
public SysContact selectSysContactById(Long id);
|
|
/**
|
* 查询联系人列表
|
*
|
* @param sysContact 联系人
|
* @return 联系人集合
|
*/
|
public List<SysContact> selectSysContactList(SysContact sysContact);
|
|
/**
|
* 新增联系人
|
*
|
* @param sysContact 联系人
|
* @return 结果
|
*/
|
public int insertSysContact(SysContact sysContact);
|
|
/**
|
* 修改联系人
|
*
|
* @param sysContact 联系人
|
* @return 结果
|
*/
|
public int updateSysContact(SysContact sysContact);
|
|
/**
|
* 批量删除联系人
|
*
|
* @param ids 需要删除的联系人主键集合
|
* @return 结果
|
*/
|
public int deleteSysContactByIds(Long[] ids);
|
|
/**
|
* 删除联系人信息
|
*
|
* @param id 联系人主键
|
* @return 结果
|
*/
|
public int deleteSysContactById(Long id);
|
}
|