You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.6 KiB
74 lines
1.6 KiB
package com.ruoyi.system.mapper;
|
|
|
|
import com.ruoyi.system.domain.SysContacts;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 联系人明细Mapper接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2022-11-16
|
|
*/
|
|
public interface SysContactsMapper
|
|
{
|
|
/**
|
|
* 查询联系人明细
|
|
*
|
|
* @param contactid 联系人明细ID
|
|
* @return 联系人明细
|
|
*/
|
|
SysContacts selectSysContactsById(Long contactid);
|
|
|
|
/**
|
|
* 查询联系人明细列表
|
|
*
|
|
* @param sysContacts 联系人明细
|
|
* @return 联系人明细集合
|
|
*/
|
|
List<SysContacts> selectSysContactsList(SysContacts sysContacts);
|
|
|
|
/**
|
|
* 查询联系人明细列表
|
|
*
|
|
* @param enterpriseCode 客户编号
|
|
* @return 联系人明细集合
|
|
*/
|
|
List<SysContacts> selectSysContactsByCode(String enterpriseCode);
|
|
/**
|
|
* 新增联系人明细
|
|
*
|
|
* @param sysContacts 联系人明细
|
|
* @return 结果
|
|
*/
|
|
int insertSysContacts(SysContacts sysContacts);
|
|
|
|
/**
|
|
* 修改联系人明细
|
|
*
|
|
* @param sysContacts 联系人明细
|
|
* @return 结果
|
|
*/
|
|
int updateSysContacts(SysContacts sysContacts);
|
|
|
|
/**
|
|
* 删除联系人明细
|
|
*
|
|
* @param contactid 联系人明细ID
|
|
* @return 结果
|
|
*/
|
|
int deleteSysContactsById(Long contactid);
|
|
|
|
/**
|
|
* 批量删除联系人明细
|
|
*
|
|
* @param contactids 需要删除的数据ID
|
|
* @return 结果
|
|
*/
|
|
int deleteSysContactsByIds(String[] contactids);
|
|
|
|
/**
|
|
* 根据联系人ID集合查询联系人信息
|
|
* */
|
|
List<SysContacts> selectSysContactsListByContactids(Long[] contactids);
|
|
}
|
|
|