改造为支持人天统计
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
pay_time, pay_img, status, is_resell, is_show,
|
||||
consignee, phone, province, city, area, address,
|
||||
merchandise_id, confirm_time, buy_time, created_at, updated_at,
|
||||
today_total_money_sum, today_unresell_count, today_order_count
|
||||
today_total_money_sum, today_unresell_count, today_order_count, avg_amt
|
||||
) VALUES
|
||||
<foreach collection="list" item="item" separator=",">
|
||||
(
|
||||
@@ -23,7 +23,7 @@
|
||||
#{item.payTime}, #{item.payImg}, #{item.status}, #{item.isResell}, #{item.isShow},
|
||||
#{item.consignee}, #{item.phone}, #{item.province}, #{item.city}, #{item.area}, #{item.address},
|
||||
#{item.merchandiseId}, #{item.confirmTime}, #{item.buyTime}, #{item.createdAt}, #{item.updatedAt},
|
||||
#{item.todayTotalMoneySum}, #{item.todayUnresellCount}, #{item.todayOrderCount}
|
||||
#{item.todayTotalMoneySum}, #{item.todayUnresellCount}, #{item.todayOrderCount}, #{item.avgAmt}
|
||||
)
|
||||
</foreach>
|
||||
ON DUPLICATE KEY UPDATE
|
||||
@@ -56,7 +56,8 @@
|
||||
updated_at = VALUES(updated_at),
|
||||
today_total_money_sum = VALUES(today_total_money_sum),
|
||||
today_unresell_count = VALUES(today_unresell_count),
|
||||
today_order_count = VALUES(today_order_count)
|
||||
today_order_count = VALUES(today_order_count),
|
||||
avg_amt = VALUES(avg_amt)
|
||||
</insert>
|
||||
|
||||
<select id="selectLatestPaidStatsByTenantId" resultType="com.rj.dto.LbBuyerTradeStats">
|
||||
|
||||
Reference in New Issue
Block a user