Commit 09614a05 by 刘宇峰

试驾报表统计

1 parent 380fa0ac
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
where tefs.fence_id = tef.id where tefs.fence_id = tef.id
and tef.del_flag = 0 and tef.del_flag = 0
and tef.biz_fence_type = 12 and tef.biz_fence_type = 12
and tu.del_flag = 0
<if test="keywords != null and keywords!='' "> <if test="keywords != null and keywords!='' ">
and ( and (
tu.account like '%${keywords}%' tu.account like '%${keywords}%'
...@@ -90,7 +89,6 @@ ...@@ -90,7 +89,6 @@
<if test="sn !=null and sn != ''"> <if test="sn !=null and sn != ''">
and tefdd.sn = #{sn,jdbcType=VARCHAR} and tefdd.sn = #{sn,jdbcType=VARCHAR}
</if> </if>
and tef.del_flag = 0
</where> </where>
GROUP BY tefdd.sn,tefdd.fence_id,statDate order by tu.account) tall GROUP BY tall.shopCode, tall.sn, GROUP BY tefdd.sn,tefdd.fence_id,statDate order by tu.account) tall GROUP BY tall.shopCode, tall.sn,
tall.statDate ORDER BY tall.shopCode tall.statDate ORDER BY tall.shopCode
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!