| | |
| | | <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> |