瀏覽代碼

Merge remote-tracking branch 'origin/master'

周箭河 5 年之前
父節點
當前提交
3904a72b85
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      edu-user/edu-user-biz/src/main/resources/config/mybatis/ExamRoomMapper.xml

+ 3 - 0
edu-user/edu-user-biz/src/main/resources/config/mybatis/ExamRoomMapper.xml

@@ -359,6 +359,9 @@
 			<if test="openFlag != null and openFlag == 0">
 				AND er.open_flag_ = #{openFlag}
 			</if>
+			<if test="search != null and search != ''">
+				AND eb.name_ LIKE CONCAT('%',#{search},'%')
+			</if>
 		</where>
 	</sql>
 	<select id="countExamRoomPage" resultType="java.lang.Integer">