Explorar o código

update

Signed-off-by: anderx <312518615@qq.com>
anderx %!s(int64=5) %!d(string=hai) anos
pai
achega
eeb3867ef3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -419,7 +419,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 (select aid,uid,max(lock_time) last_sign_time from user_lock_release group by aid,uid) t0 on a.id=t0.uid and a.aid=t0.aid
 			left join (select uid,aid,max(create_time)  last_follow_time from user_follow  group by aid,uid)t1 on a.id=t1.uid and a.aid=t1.aid
-			where a.share_type=0  and source !=0
+			where a.type= 1 and a.share_type=0  and source !=0
 		<if test="power ==0">
 			and a.aid = #{aid,jdbcType=VARCHAR}
 		</if>
@@ -470,7 +470,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 (select aid,uid,max(lock_time) last_sign_time from user_lock_release group by aid,uid) t0 on a.id=t0.uid and a.aid=t0.aid
 			left join (select uid,aid,max(create_time)  last_follow_time from user_follow  group by aid,uid)t1 on a.id=t1.uid and a.aid=t1.aid
-			where a.share_type=0  and source !=0
+			where a.type= 1 and a.share_type=0  and source !=0
 		<if test="power ==0">
 			and a.aid = #{aid,jdbcType=VARCHAR}
 		</if>