Commit b765872f by wnb0128

车家智能数据服务开发 用户查询添加id查询--think.wang

1 parent d00568a3
...@@ -295,6 +295,9 @@ ...@@ -295,6 +295,9 @@
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from smart_user_relation from smart_user_relation
where 1 = 1 where 1 = 1
<if test="id != null">
and id = #{id,jdbcType=BIGINT}
</if>
<if test="phone != null and phone != ''"> <if test="phone != null and phone != ''">
and phone = #{phone,jdbcType=VARCHAR} and phone = #{phone,jdbcType=VARCHAR}
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!