From 94e3a209bb9a31c4ddbd31494bb1628f6fe2e96e Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期三, 12 十月 2022 17:54:49 +0800 Subject: [PATCH] 新增首页工单 办事指南排行榜接口 导办人员排行榜接口 组织排行榜接口 新增办事指南统计接口 导办人员统计接口 组织胖行榜统计接口 --- flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessageCommonProblemMapper.java | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessageCommonProblemMapper.java b/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessageCommonProblemMapper.java index aef9290..31326e9 100644 --- a/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessageCommonProblemMapper.java +++ b/flower_city/src/main/java/com/dg/core/db/gen/mapper/AutomessageCommonProblemMapper.java @@ -1,7 +1,11 @@ package com.dg.core.db.gen.mapper; +import com.baomidou.mybatisplus.core.metadata.IPage; import com.dg.core.db.gen.entity.AutomessageCommonProblem; import com.baomidou.mybatisplus.core.mapper.BaseMapper; + import org.springframework.data.repository.query.Param; + +import java.util.List; /** * <p> @@ -13,4 +17,24 @@ */ public interface AutomessageCommonProblemMapper extends BaseMapper<AutomessageCommonProblem> { + /** + * 获取常见问题列表(分页) + * @param page + * @param state + * @return + */ + List<AutomessageCommonProblem> selectConfigList(IPage<AutomessageCommonProblem> page, Integer state, @Param("title") String title, @Param("content") String content); + + /** + * 获取常见问题列表(不分页查找) + * @return + */ + List<AutomessageCommonProblem> selectConfigList(@Param("title") String title, @Param("content") String content); + + /** + * 获取常见问题列表统计数量 + * @return + */ + Integer countConfigList(@Param("title") String title, @Param("content") String content); + } -- Gitblit v1.7.1