package com.cloud.user.dao;
|
|
import com.cloud.model.sys.BbEmployeeRelation;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 人员关系表
|
* Dao层
|
*/
|
@Mapper
|
public interface BbEmployeeRelationDao {
|
|
// 添加
|
Integer add(BbEmployeeRelation entity);
|
|
// 修改
|
Integer update(BbEmployeeRelation entity);
|
|
// 根据主键查询
|
BbEmployeeRelation findById(Map<String, Object> params);
|
|
// 根据主键删除
|
Integer deleteById(Map<String, Object> params);
|
|
// 得到总条数
|
int count(Map<String, Object> params);
|
|
// 查询列表
|
List<BbEmployeeRelation> findData(Map<String, Object> params);
|
|
//查询与人员id有关系的人员集合
|
List<Map<String,Object>> findRelationById(Map<String, Object> params);
|
}
|