he2802 há 2 anos atrás
pai
commit
d2073927e3

+ 2 - 3
zhongzheng-system/src/main/resources/mapper/modules/user/UserMapper.xml

@@ -149,14 +149,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectList" parameterType="com.zhongzheng.modules.user.bo.UserQueryBo" resultMap="UserResult">
     <select id="selectList" parameterType="com.zhongzheng.modules.user.bo.UserQueryBo" resultMap="UserResult">
         SELECT DISTINCT
         SELECT DISTINCT
         u.*,
         u.*,
-        (case WHEN u.union_id is null then 0 ELSE 1 end) as user_bind_wx,
-        (case WHEN uwf.gzh_open_id is null then 0 ELSE 1 end) as user_follow_wx
+        (case WHEN u.union_id is null then 0 ELSE 1 end) as user_bind_wx
         <if test="getOrderNum != null and getOrderNum == 1" >
         <if test="getOrderNum != null and getOrderNum == 1" >
         ,ou.goods_course_num,ou.goods_bank_num,ou.goods_live_num
         ,ou.goods_course_num,ou.goods_bank_num,ou.goods_live_num
         </if>
         </if>
         FROM
         FROM
         `user` u
         `user` u
-        LEFT JOIN user_wx_follow uwf ON u.union_id = uwf.union_id
+       
         <if test="getOrderNum != null and getOrderNum == 1" >
         <if test="getOrderNum != null and getOrderNum == 1" >
             LEFT JOIN (
             LEFT JOIN (
             SELECT
             SELECT