From 83411485753bba8573f8d1e65e4e6df299d9fd20 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 09 一月 2019 15:47:03 +0800 Subject: [PATCH] 修改部分Bug --- fanli/src/main/java/com/yeshi/fanli/mapping/share/ShareMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/share/ShareMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/share/ShareMapper.xml index 58b1e22..379475d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/share/ShareMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/share/ShareMapper.xml @@ -183,7 +183,7 @@ AND yeh.`hb_uid` = #{uid} AND - FROM_UNIXTIME(yeh.hb_create_time/1000,'%Y-%m-%d') = + FROM_UNIXTIME(UNIX_TIMESTAMP(yeh.hb_create_time),'%Y-%m-%d') = FROM_UNIXTIME(UNIX_TIMESTAMP(),'%Y-%m-%d'); </select> @@ -203,7 +203,7 @@ AND yeh.`hb_uid` = #{uid} AND - FROM_UNIXTIME(yeh.hb_create_time/1000,'%Y-%m') = + FROM_UNIXTIME(UNIX_TIMESTAMP(yeh.hb_create_time),'%Y-%m') = FROM_UNIXTIME(UNIX_TIMESTAMP(),'%Y-%m'); </select> -- Gitblit v1.8.0