修复统计问题

dev
lisai17@sina.com 2021-09-24 12:01:07 +08:00
parent 8a6eee5165
commit 80e19b32ad
1 changed files with 3 additions and 3 deletions

View File

@ -2212,13 +2212,13 @@ public class OrderStatService {
}
List<Record> customer_pre_list = Db.find("select\n" +
" a.customer_id,\n" +
" c.id customer_id,\n" +
" tp.id customer_type_id,\n" +
" tp.name customer_type_name,\n" +
" c.name customer_name,\n" +
" c.name,\n" +
" a.total_amount prepay_total_amount, \n" +
" b.total_amount refund_total_amount, \n" +
" ifnull(a.total_amount, 0) prepay_total_amount, \n" +
" ifnull(b.total_amount, 0) refund_total_amount, \n" +
" p.surplus prepay_surplus\n" +
" from customer c \n" +
" left join ( \n" +