heheng
2024-11-28 17b8acf3e68798537f65d897b3c5c1982cd22d38
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">