孙永军 2 年之前
父节点
当前提交
d3b22a796e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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">