|
@@ -85,7 +85,7 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="weixinLastDt" resultType="java.lang.String">
|
|
<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>
|
|
|
|
|
|
<select id="toutiaoAggList" resultType="com.sxtvs.open.api.odata.dto.Agg">
|
|
<select id="toutiaoAggList" resultType="com.sxtvs.open.api.odata.dto.Agg">
|