Bladeren bron

sql修改

anderx 4 jaren geleden
bovenliggende
commit
7a56b3cbbd
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/main/java/com/goafanti/common/mapper/UserLockReleaseMapper.xml

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

@@ -388,7 +388,7 @@
 	left join user u on t0.uid=u.id
 	where u.channel=0
 	<if test="type==0">
-	 and datediff(now(),if(t0.lock_time &lt; t1.last_follow_time,t1.last_follow_time,t1.t0.lock_time))>30
+	 and datediff(now(),if(t0.lock_time &lt; t1.last_follow_time,t1.last_follow_time,t0.lock_time))>30
 	</if>
 	<if test="type==1">
 	 and datediff(now(),t0.lock_time)>270