From 2d27b24029adafdbfc5703b38a519d65beda6a68 Mon Sep 17 00:00:00 2001 From: heheng <heheng@123456> Date: 星期三, 20 十一月 2024 16:23:23 +0800 Subject: [PATCH] 更改 --- expert-system/src/main/resources/mapper/system/EvaluationMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/expert-system/src/main/resources/mapper/system/EvaluationMapper.xml b/expert-system/src/main/resources/mapper/system/EvaluationMapper.xml index fff4cda..1e00355 100644 --- a/expert-system/src/main/resources/mapper/system/EvaluationMapper.xml +++ b/expert-system/src/main/resources/mapper/system/EvaluationMapper.xml @@ -23,12 +23,14 @@ <select id="selectEvaluationList" parameterType="Evaluation" resultMap="EvaluationResult"> <include refid="selectEvaluationVo"/> - <where> + <where> + and del_flag = 0 <if test="score != null "> and score = #{score}</if> <if test="content != null and content != ''"> and content = #{content}</if> <if test="scoreType != null and scoreType != ''"> and score_type = #{scoreType}</if> <if test="version != null "> and version = #{version}</if> </where> + order by create_time desc </select> <select id="selectEvaluationById" parameterType="Long" resultMap="EvaluationResult"> -- Gitblit v1.9.2