|
@@ -262,6 +262,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>)
|
|
|
</if>
|
|
|
+ <if test="hasBindWx != null and hasBindWx == 1 ">
|
|
|
+ AND u.union_id is not null
|
|
|
+ </if>
|
|
|
+ <if test="hasBindWx != null and hasBindWx == 0 ">
|
|
|
+ AND u.union_id is null
|
|
|
+ </if>
|
|
|
+ <if test="hasFollowWx != null and hasFollowWx == 1 ">
|
|
|
+ AND uwf.gzh_open_id is not null
|
|
|
+ </if>
|
|
|
+ <if test="hasFollowWx != null and hasFollowWx == 0 ">
|
|
|
+ AND uwf.gzh_open_id is null
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
|