package com.dg.core.db.gen.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.dg.core.db.gen.entity.TransactionEvent;
|
import com.dg.core.db.manual.pojo.Search;
|
import org.springframework.data.repository.query.Param;
|
|
import java.util.List;
|
|
public interface TransactionEventMapper extends BaseMapper<TransactionEvent>
|
{
|
|
/**
|
* 查询导办事务详情
|
* @param Id
|
* @return
|
*/
|
public TransactionEvent selectConfigData(String Id);
|
|
/**
|
* 导办事物列表
|
* @param
|
* @return
|
*/
|
public List<TransactionEvent> selectConfigList(IPage<TransactionEvent> page, Integer state,
|
@Param("keyword") String keyword,
|
@Param("classifyGrade") String classifyGrade,
|
@Param("ids") List<String> ids);
|
|
|
|
|
/**
|
* 导办事物列表 (部分也)
|
* @param
|
* @return
|
*/
|
public List<TransactionEvent> selectConfigList(@Param("keyword") String keyword,
|
@Param("classifyGrade") String classifyGrade,
|
@Param("ids") List<String> ids);
|
|
/**
|
* 新增导办事务
|
* @param entity
|
* @return
|
*/
|
public int insertConfig(TransactionEvent entity);
|
|
/**
|
* 修改导办事务
|
* @param entity
|
* @return
|
*/
|
public int updateConfig(TransactionEvent entity);
|
|
/**
|
* 删除接口
|
* @param Id
|
* @return
|
*/
|
public int deleteConfigById(String Id);
|
|
/**
|
* 统计数量
|
* @param
|
* @return
|
*/
|
public int countNum(@Param("keyword") String keyword,
|
@Param("classifyGrade") String classifyGrade,
|
@Param("ids") List<String> ids);
|
|
/**
|
* 导办事务搜索
|
* @param matterName
|
* @return
|
*/
|
List<TransactionEvent> queryMatterNameList(IPage<TransactionEvent> page, Integer state, String matterName);
|
|
/**
|
* 导办事务搜索(不带分页)
|
* @param matterName
|
* @return
|
*/
|
List<TransactionEvent> queryMatterNameList(@Param("matterName") String matterName,@Param("classifyId") String classifyId);
|
|
/**
|
* 导办事务搜索(不带分页)(关联词)
|
* @param associateNames
|
* @return
|
*/
|
List<TransactionEvent> queryAssociateNamesList(@Param("associateNames") String associateNames,@Param("classifyId") String classifyId);
|
|
/**
|
* 导办事务搜索统计数量
|
* @param matterName
|
* @return
|
*/
|
int countNumByMatterName(String matterName);
|
|
/**
|
* 根据分类ID事务搜索统计数量
|
* @param classifyId
|
* @return
|
*/
|
int countNumByClassifyIdList(@Param("classifyId") String classifyId,@Param("departmentId") Integer departmentId);
|
|
/**
|
* 搜索后更新导办事务
|
* @param matterName
|
* @return
|
*/
|
int updateConfigByMatterName(String matterName);
|
|
/**
|
* 根据分离查询导办事务
|
* @param classifyId
|
* @return
|
*/
|
List<TransactionEvent> queryByClassifyIdList(@Param("classifyId") String classifyId,@Param("departmentId") Integer departmentId);
|
|
|
/**
|
* 根据分离查询导办事务(分页)
|
* @param classifyId
|
* @return
|
*
|
*/
|
List<TransactionEvent> queryByClassifyIdList(IPage<TransactionEvent> page, Integer state,@Param("classifyId") String classifyId,@Param("departmentId") Integer departmentId);
|
|
/**
|
* 查询导办事务求和
|
* @return
|
*/
|
TransactionEvent sumTransactionNum();
|
|
/**
|
* 根据关键词导办事务(部门也会统计进去)搜索(分页)
|
* @param keyWord
|
* @return
|
*/
|
List<Search> selectSearch(IPage<Search> page, Integer state, String keyWord);
|
|
|
/**
|
* 根据关键词导办事务(部门也会统计进去)搜索(分页)(小程序)
|
* @param keyWord
|
* @return
|
*/
|
List<Search> selectSearchList(String keyWord);
|
|
/**
|
* 根据关键词导办事务(部门也会统计进去)搜索(不分页)
|
* @param keyWord
|
* @return
|
*/
|
List<Search> selectSearch( String keyWord);
|
|
|
/**
|
* 根据关联词导办事务搜索搜索(分页)
|
* @param keyWord
|
* @return
|
*/
|
List<Search> selectSearchAssociate(IPage<Search> page, Integer state, String keyWord);
|
|
/**
|
* 根据关联词导办事务搜索搜索(不分页)
|
* @param keyWord
|
* @return
|
*/
|
List<Search> selectSearchAssociate( String keyWord);
|
|
/**
|
* 按ids查找导办事务列表
|
* @param list
|
* @return
|
*/
|
List<TransactionEvent> selectListByIds(String[] list);
|
|
/**
|
* 根据分类筛选数据
|
* @param ids
|
* @return
|
*/
|
List<TransactionEvent> selectClassifyList(List<String> ids);
|
|
/**
|
* 根据部门判断是否有事项名称重复
|
*/
|
String selectDataIfExist(@Param("departmentId") String departmentId,
|
@Param("matterName") String matterName);
|
|
/**
|
* 根据办事分类获取办事指南
|
*/
|
List<String> selectclassifyId(String classifyId);
|
|
|
/**
|
* 根据关联词导办事务搜索搜索(不分页)(去重用于小程序)
|
* @param keyWord
|
* @return
|
*/
|
List<Search> selectSearchAssociateDistinct( String keyWord);
|
|
|
|
}
|