Commit c68b55d5 by jianan

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

parent b3f843c0
...@@ -154,6 +154,7 @@ ...@@ -154,6 +154,7 @@
AND year(t.created_at) = year(str_to_date(#{date,jdbcType=VARCHAR}, '%Y-%m')) AND year(t.created_at) = year(str_to_date(#{date,jdbcType=VARCHAR}, '%Y-%m'))
</if> </if>
<if test="type == 3"> <if test="type == 3">
AND year(t.created_at) = left(#{date,jdbcType=VARCHAR}, 4)+0
AND t.seq_time = right(#{date,jdbcType=VARCHAR}, 2)+0 AND t.seq_time = right(#{date,jdbcType=VARCHAR}, 2)+0
</if> </if>
</when> </when>
...@@ -193,6 +194,7 @@ ...@@ -193,6 +194,7 @@
AND year(t.created_at) = year(str_to_date(#{date,jdbcType=VARCHAR}, '%Y-%m')) AND year(t.created_at) = year(str_to_date(#{date,jdbcType=VARCHAR}, '%Y-%m'))
</if> </if>
<if test="type == 3"> <if test="type == 3">
AND year(t.created_at) = left(#{date,jdbcType=VARCHAR}, 4)+0
AND t.seq_time = right(#{date,jdbcType=VARCHAR}, 2)+0 AND t.seq_time = right(#{date,jdbcType=VARCHAR}, 2)+0
</if> </if>
</when> </when>
......
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