Commit 46d6b1ef by 陶光胜

取数平台调整

parent dee84d1f
......@@ -54,15 +54,16 @@
FROM
<include refid="queryTables"/>
<include refid="queryJoins"/>
where 1=1
<if test="fuzzy != '' ">
<bind name="pattern" value="'%' + fuzzy + '%'" />
WHERE
q.table_id LIKE #{pattern}
and
(q.table_id LIKE #{pattern}
OR q.name LIKE #{pattern}
OR q.description LIKE #{pattern}
OR q.description LIKE #{pattern})
</if>
<if test="authTables != null and authTables.size()>0">
where q.table_id in
and q.table_id in
<foreach close=")" collection="authTables" index="index" item="item" open="(" separator=",">
#{item}
</foreach>
......
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