Преглед изворни кода

个人客户显示BUG修复

anderx пре 7 година
родитељ
комит
4c124784d2
1 измењених фајлова са 1 додато и 1 уклоњено
  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