ruoyi-system/src/main/resources/mapper/system/TTemplateMapper.xml
@@ -19,5 +19,15 @@ <sql id="Base_Column_List"> id, create_time, update_time, create_by, update_by, disabled, template_name, remark, role_id </sql> <select id="pageList" resultType="com.ruoyi.system.vo.system.TemplateListVO"> select * from t_template where 1=1 <if test="query.templateName != null and query.templateName != ''"> and template_name like concat('%',#{query.templateName},'%') </if> and disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} </select> </mapper>