修改微信统计导出顺序固定

This commit is contained in:
huangdeliang
2021-05-08 10:56:09 +08:00
parent 6b784c3f1f
commit 2b6cc96016
4 changed files with 67 additions and 57 deletions

View File

@ -70,7 +70,7 @@
LEFT JOIN (SELECT dict_label, dict_value FROM sys_dict_data WHERE dict_type = 'fan_channel') AS cn ON cn.dict_value = wd.account_id
LEFT JOIN sys_user AS su ON su.user_id = wd.user_id
WHERE wd.del_flag = 0
ORDER BY wd.sale_group_id, wd.user_id ASC
ORDER BY wd.sale_group_id, wd.user_id, wd.wechat_account ASC
</select>
<!-- 查询总进粉数量 -->