소스 검색

sql修改

anderx 4 년 전
부모
커밋
7a56b3cbbd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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