无关风月
2025-06-02 2d72905540a9e4b1dfa7b7bc8e557a5f6ec501a2
ruoyi-system/src/main/resources/mapper/system/TProblemEscalationMapper.xml
@@ -26,5 +26,17 @@
    <sql id="Base_Column_List">
        id, create_time, update_time, create_by, update_by, disabled, escalation_id, escalation_type, escalation_content, problem_location, phone, status, remark, handle_time, handle_id, pictures
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.vo.system.ProblemEscalationListVO">
        select t1.*,t2.nick_name as nickName,t2.avatar as avatar,t3.data_content as escalationTypeName from t_problem_escalation t1
        left join sys_user t2 on t1.escalation_id = t2.user_id
        left join t_dict_data t3 on t1.escalation_type = t3.id
        where 1=1
        <if test="query.feedbackContent != null and query.feedbackContent != ''">
            and t1.feedback_content like concat('%',#{query.feedbackContent},'%')
        </if>
          and t3.data_type = 3
        and t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        order by t1.status asc,t1.create_time desc
    </select>
</mapper>