ruoyi-system/src/main/resources/mapper/system/QuestionMapper.xml
@@ -4,12 +4,12 @@ <select id="getQuestionPage" resultType="com.ruoyi.system.pojo.vo.QuestionPageVO"> select id,name ,order_num select id,title ,order_num from tb_question where del_flg=0 <if test="null != name and '' != name"> and name like concat('%',#{name},'%') del_flag=0 <if test="null != title and '' != title"> and title like concat('%',#{title},'%') </if> </select>