知识问答接口

This commit is contained in:
xiezhijun
2021-04-15 16:15:40 +08:00
parent 699de4b458
commit 560fb3d992
10 changed files with 219 additions and 61 deletions

View File

@ -111,4 +111,15 @@
order by id desc
</select>
<!-- 查询总数 -->
<select id="getNutritionQuestionCount" resultType="int">
select count(id) from sys_nutrition_question where del_flag = 0
</select>
<!-- 分页查询-->
<select id="getNutritionQuestionListByPage" resultMap="SysNutritionQuestionResult">
select * from sys_nutrition_question where del_flag = 0 order by id asc limit #{start},#{pageSize}
</select>
</mapper>