anderx пре 7 година
родитељ
комит
791cd6ae0b
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

@@ -642,7 +642,7 @@
 		from
 			(select uid,aid,max(lock_time) as update_time
 		from user_lock_release
-		where type=1 and  aid= #{aid,jdbcType=VARCHAR} 
+		where type=1 and status=0 and  aid= #{aid,jdbcType=VARCHAR} 
 		group by uid)t0
 		inner join
 			(select id,aid,share_type,society_tag,identify_name,transfer_time from user where type = 1)t2