package com.dg.core.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.dg.core.db.gen.entity.SysUser;
|
import com.dg.core.db.gen.entity.TransactionEvent;
|
import com.dg.core.db.manual.pojo.QueryResults;
|
import com.dg.core.db.manual.pojo.RecommendResult;
|
import com.dg.core.db.manual.pojo.Search;
|
import org.springframework.data.repository.query.Param;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import java.util.List;
|
|
public interface ITransactionEventService
|
{
|
/**
|
* 查询导办事务详情
|
* @param Id
|
* @return
|
*/
|
public TransactionEvent selectConfigData(String Id, SysUser sysUser);
|
|
/**
|
* 导办事物列表
|
* @return
|
*/
|
public List<TransactionEvent> selectConfigList(IPage<TransactionEvent> page, Integer state,
|
String keyword, String classifyGrade,
|
List<String> ids);
|
|
/**
|
* 导办事物列表
|
* @return
|
*/
|
public List<TransactionEvent> selectConfigList(String keyword, String classifyGrade,
|
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);
|
|
/**
|
* 统计数量
|
* @return
|
*/
|
public int countNum(String keyword,String classifyGrade,List<String> ids);
|
|
/**
|
* 导办事务搜索
|
* @param keyWord
|
* @return
|
*/
|
QueryResults queryMatterNameList(IPage<Search> page, Integer state,Integer recommendSize, String keyWord);
|
|
|
/**
|
* 导办事务搜索(无分页用于小程序)
|
* @param keyWord
|
* @return
|
*/
|
QueryResults queryMatterNameList(String keyWord);
|
|
/**
|
* 导办事务搜索统计数量
|
* @param matterName
|
* @return
|
*/
|
int countNumByMatterName(String matterName);
|
|
/**
|
* 根据分类id查询导办事务
|
* @param classifyId
|
* @return
|
*/
|
List<TransactionEvent> queryByClassifyIdList(String classifyId,Integer departmentId);
|
|
|
/**
|
* 根据分类id查询导办事务(分页)
|
* @param classifyId
|
* @return
|
*/
|
List<TransactionEvent> queryByClassifyIdList(IPage<TransactionEvent> page, Integer state,String classifyId,Integer departmentId);
|
|
/**
|
* 根据查询时间查询导办事务
|
* @return
|
*/
|
List<TransactionEvent> queryByQueryTime();
|
|
/**
|
* 根据浏览次数查询导办事务
|
* @return
|
*/
|
List<TransactionEvent> queryByBrowseNum();
|
|
/**
|
* 查询导办事务求和
|
* @return
|
*/
|
TransactionEvent sumTransactionNum();
|
|
int countNumByClassifyIdList(String classifyId, Integer departmentId);
|
|
/**
|
* 导办事物列表(不分页)
|
* @return
|
*/
|
List<TransactionEvent> selectList(String keyWord);
|
|
/**
|
* 智能咨询
|
* @return
|
*/
|
RecommendResult smartConsulting(String keyWord);
|
|
|
/**
|
* 根据部门判断是否有事项名称重复
|
*/
|
String selectDataIfExist(@Param("departmentId") String departmentId,
|
@Param("matterName") String matterName);
|
|
|
/**
|
* 根据办事分类获取办事指南
|
*/
|
List<String> selectclassifyId(String classifyId);
|
|
|
/**
|
* 根据分类筛选数据
|
* @param ids
|
* @return
|
*/
|
List<TransactionEvent> selectClassifyList(List<String> ids);
|
Integer batchImport(String fileName, MultipartFile file) ;
|
|
}
|