Commit cc7de6e1 authored by 赵桢's avatar 赵桢

修改%查询全部问题

parent d4f818d4
......@@ -228,8 +228,8 @@
<if test="qnYear != null and qnYear != ''"><!-- 年份 -->
AND t_record.qn_year = #{qnYear}
</if>
<if test="createBy != null and createBy != ''"><!-- 众创空间名称 -->
AND t_record.create_by LIKE CONCAT('%', #{createBy}, '%')
<if test="createBy != null and createBy != ''">
and create_by like concat('%',replace(#{createBy},'%','\%'),'%')
</if>
ORDER BY
<if test="sorting != null and sorting != ''">
......@@ -1040,7 +1040,7 @@
from t_record
<where>
<if test="createBy != null and createBy != ''">
AND create_by like concat(concat('%',#{createBy},'%'))
and create_by like concat('%',replace(#{createBy},'%','\%'),'%')
</if>
<if test="processStatus != null"><!-- 问卷状态 -->
AND process_status = #{processStatus}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment