ruoyi-system/src/main/resources/mapper/system/TDivisionTeamMapper.xml
@@ -17,5 +17,17 @@ <sql id="Base_Column_List"> id, team_name, create_time, update_time, create_by, update_by, disabled </sql> <select id="pageList" resultType="com.ruoyi.system.model.TDivisionTeam"> SELECT <include refid="Base_Column_List"/> FROM t_division_team <where> <if test="query.teamName != null and query.teamName != ''"> and team_name like concat('%',#{query.teamName},'%') </if> AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} </where> order by create_time desc </select> </mapper>