Explorar o código

个人客户显示BUG修复

anderx %!s(int64=7) %!d(string=hai) anos
pai
achega
4c124784d2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -245,7 +245,7 @@
 		from
 			(select uid,aid,max(update_time) as update_time
 		from user_business 
-		where follow_situation=5 and aid=1
+		where follow_situation=5 and aid=#{aid,jdbcType=VARCHAR}
 		group by uid)t0
 		left join 
 			(select uid,aid,max(create_time) as last_follow_time from user_follow where aid =#{aid,jdbcType=VARCHAR} group by uid)t1