|
@@ -98,6 +98,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="prefixName != null and prefixName != ''">
|
|
<if test="prefixName != null and prefixName != ''">
|
|
|
AND qm.prefix_name like concat('%', #{prefixName}, '%')
|
|
AND qm.prefix_name like concat('%', #{prefixName}, '%')
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="searchKey != null and searchKey != '' ">
|
|
|
|
|
+ and (qm.module_name like concat('%', #{searchKey}, '%') or qm.code like concat('%', #{searchKey}, '%') or qm.prefix_name like concat('%', #{searchKey}, '%'))
|
|
|
|
|
+ </if>
|
|
|
ORDER BY qm.module_exam_id DESC
|
|
ORDER BY qm.module_exam_id DESC
|
|
|
</select>
|
|
</select>
|
|
|
</mapper>
|
|
</mapper>
|