Commit 0c9aaf74 by danmo

修复sql查询字段错误

1 parent 20e96a8d
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
left join we_customer wc on wccm.from_id = wc.external_userid and (case when LOCATE('wm', wccm.from_id) or LOCATE('wo', wccm.from_id) then 0 else 1 end) = 0 left join we_customer wc on wccm.from_id = wc.external_userid and (case when LOCATE('wm', wccm.from_id) or LOCATE('wo', wccm.from_id) then 0 else 1 end) = 0
<where> <where>
<if test="fromId != null and fromId != ''"> <if test="fromId != null and fromId != ''">
and wccm.fromId = #{fromId} and wccm.from_id = #{fromId}
</if> </if>
<if test="toList != null and toList != ''"> <if test="toList != null and toList != ''">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!