xuhy
2025-08-25 fdf49fc80a8efd28ed7b59a91a680111ea659e6a
ruoyi-system/src/main/resources/mapper/system/TSysChronicDiseaseMapper.xml
@@ -17,5 +17,17 @@
    <sql id="Base_Column_List">
        id, chronic_name, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.model.TSysChronicDisease">
        SELECT
        <include refid="Base_Column_List"/>
            FROM t_sys_chronic_disease
        <where>
            <if test="query.chronicName != null and query.chronicName != ''">
                AND chronic_name LIKE concat('%',#{query.chronicName},'%')
            </if>
            AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        </where>
        ORDER BY create_time DESC
    </select>
</mapper>