孙永军 %!s(int64=2) %!d(string=hai) anos
pai
achega
14b5b29580
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

@@ -85,7 +85,7 @@
     </select>
 
     <select id="weixinLastDt" resultType="java.lang.String">
-        select max(dt) dt from wx_total
+        select IFNULL(max(dt),replace(DATE(NOW()), '-', ''))  dt from wx_total
     </select>
 
     <select id="toutiaoAggList" resultType="com.sxtvs.open.api.odata.dto.Agg">