Commit c5ce9fa2 by jianan

导出运营报表2-经纪人日程管理,销售目标,活动量

parent c332b88b
......@@ -162,7 +162,7 @@
</when>
<otherwise>
<if test="date != null">
AND t.created_at &gt;= str_to_date(#{date,jdbcType=VARCHAR}, '%Y-%m') AND t.created_at &lt;= str_to_date(#{date,jdbcType=VARCHAR}, '%Y-%m')
AND date_format(t.created_at, '%Y-%m-%d') &gt;= #{date,jdbcType=VARCHAR} AND date_format(t.created_at, '%Y-%m-%d') &lt;= #{date,jdbcType=VARCHAR}
</if>
</otherwise>
</choose>
......@@ -199,7 +199,7 @@
</when>
<otherwise>
<if test="date != null">
AND t.created_at &gt;= str_to_date(#{date,jdbcType=VARCHAR}, '%Y-%m') AND t.created_at &lt;= str_to_date(#{date,jdbcType=VARCHAR}, '%Y-%m')
AND date_format(t.created_at, '%Y-%m-%d') &gt;= #{date,jdbcType=VARCHAR} AND date_format(t.created_at, '%Y-%m-%d') &lt;= #{date,jdbcType=VARCHAR}
</if>
</otherwise>
</choose>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment