门店号管理

dev_0531
LegnaYet 6 years ago
parent 03aea0e41c
commit bdeca4401f

@ -47,13 +47,13 @@
<select id="selectSumDataByShopIds" resultType="com.kiisoo.ic.generalize.entity.PoiCustomerContactDataStat"> <select id="selectSumDataByShopIds" resultType="com.kiisoo.ic.generalize.entity.PoiCustomerContactDataStat">
select select
store_id as storeId, store_id as storeId,
SUM(negative_feedback_cnt) as negativeFeedbackCnt, IFNULL(SUM(negative_feedback_cnt),0) as negativeFeedbackCnt,
SUM(new_apply_cnt) as newApplyCnt, IFNULL(SUM(new_apply_cnt),0) as newApplyCnt,
SUM(chat_cnt) as chatCnt, IFNULL(SUM(chat_cnt),0) as chatCnt,
SUM(message_cnt) as messageCnt, IFNULL(SUM(message_cnt),0) as messageCnt,
AVG(avg_reply_time) as avgReplyTime, IFNULL(AVG(avg_reply_time),0) as avgReplyTime,
AVG(reply_percentage) as replyPercentage, IFNULL(AVG(reply_percentage),0) as replyPercentage,
SUM(new_contact_cnt) as newContactCnt IFNULL(SUM(new_contact_cnt),0) as newContactCnt
from poi_customer_contact_data_stat where from poi_customer_contact_data_stat where
store_id in store_id in
<foreach collection="storeIds" separator="," item="item" index="index" close=")" open="("> <foreach collection="storeIds" separator="," item="item" index="index" close=")" open="(">

Loading…
Cancel
Save