Kaynağa Gözat

私有渠道排序修改

anderx 3 yıl önce
ebeveyn
işleme
9ad9b70152

+ 1 - 1
src/main/java/com/goafanti/common/mapper/UserMapper.xml

@@ -1429,7 +1429,7 @@
     left join district_glossory dg2 on d.location_city = dg2.id
     left join district_glossory dg3 on d.location_area = dg3.id
     left join user_mid um on um.aid=a.aid and um.uid=a.id
-    where a.type= 1   and a.source in(1,2,3) and a.share_type = 0 and a.new_channel=1
+    where a.type= 1   and a.source in(1,2,3) and a.share_type = 0 and a.new_channel=0
     <if test="power ==0">
       and a.aid = #{aid,jdbcType=VARCHAR}
     </if>

+ 1 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -2203,7 +2203,7 @@ inner join(
 		left join district_glossory dg2 on d.location_city = dg2.id
 		left join district_glossory dg3 on d.location_area = dg3.id
 		left join user_mid um on um.aid=a.aid and um.uid=a.id
-		where a.type= 1   and a.source in(1,2,3)
+		where a.type= 1   and a.source in(1,2,3)  and a.new_channel=1
 		<if test=" shareType !=null ">
 			and a.share_type = #{shareType}
 		</if>