From c447386e06ce5927fb6e3ccb22ee673535b3f566 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 08 七月 2024 18:21:26 +0800 Subject: [PATCH] 标签增加部门字段、分页调整(未做权限) --- src/main/java/com/mindskip/xzs/repository/QuestionMapper.java | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/repository/QuestionMapper.java b/src/main/java/com/mindskip/xzs/repository/QuestionMapper.java index 854d04c..4dfc6e4 100644 --- a/src/main/java/com/mindskip/xzs/repository/QuestionMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/QuestionMapper.java @@ -22,6 +22,7 @@ List<Question> page(QuestionPageRequestVM requestVM); List<Question> selectByIds(@Param("ids") List<Integer> ids); + List<QuestionVO> getVoByIds(@Param("ids") List<Integer> ids); Integer selectAllCount(); @@ -46,6 +47,11 @@ QuestionVO getAnswer(Integer id); - - + /** + * 鏌ユ妱棰樺共绗﹀悎鐨勯鐩暟閲� + * + * @param title + * @return + */ + Integer countQuestionByTitle(@Param("title") String title); } -- Gitblit v1.8.0