Commit 12684af0 by guojx

优化自定义查询接口

parent 73987abe
......@@ -69,7 +69,7 @@
<if test="userId != null and userId != ''">
and q.user_id = #{userId}
</if>
<if test="fuzzy != '' ">
<if test="fuzzy != null and fuzzy != '' ">
<bind name="pattern" value="'%' + fuzzy + '%'" />
AND (
q.name LIKE #{pattern}
......
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