Commit 5f88e680 by guojx

Merge branch 'feature-2024-05-data-hook' into 'developer'

Feature 2024 05 data hook

See merge request !118
parents 4b44d0ae 73987abe
...@@ -65,7 +65,10 @@ ...@@ -65,7 +65,10 @@
<include refid="queryTables"/> <include refid="queryTables"/>
<include refid="queryJoins"/> <include refid="queryJoins"/>
WHERE WHERE
q.user_id = #{userId} 1=1
<if test="userId != null and userId != ''">
and q.user_id = #{userId}
</if>
<if test="fuzzy != '' "> <if test="fuzzy != '' ">
<bind name="pattern" value="'%' + fuzzy + '%'" /> <bind name="pattern" value="'%' + fuzzy + '%'" />
AND ( AND (
......
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