孙永军 %!s(int64=2) %!d(string=hai) anos
pai
achega
d3b22a796e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/com/sxtvs/OpenDataMapper.xml

+ 1 - 1
src/main/resources/com/sxtvs/OpenDataMapper.xml

@@ -58,7 +58,7 @@
     </select>
 
     <select id="weiboLastDt" resultType="java.lang.String">
-        select  REPLACE(SUBSTR( IFNULL(max(publish_time), DATE_SUB(CURDATE(), INTERVAL 1 DAY)) ,1, 10) ,'-','') dt from open_data where `platform` = '微博'
+        select  IFNULL(max(dt) dt from weibo_total where `platform` = '微博'
     </select>
 
     <select id="weixinAggList" resultType="com.sxtvs.open.api.odata.dto.Agg">