|
|
@@ -27,7 +27,7 @@
|
|
|
|
|
|
<select id="selectDailySalesReports" resultMap="BaseResultMap">
|
|
|
SELECT o.salesman_id as admin_id, a.department_id as dep_id,
|
|
|
- count(o.order_no) as order_count, sum(o.order_amount) as order_amount
|
|
|
+ count(o.order_no) as order_count, sum(o.sign_total_amount) as order_amount
|
|
|
FROM aft.t_order o
|
|
|
left join aft.admin a on o.salesman_id=a.id
|
|
|
where o.order_status=3 and o.sign_time >= #{startTime,jdbcType=TIMESTAMP} and o.sign_time < #{endTime,jdbcType=TIMESTAMP}
|