Commit 08d4efc9 by Joneq

修改逾期金额率

parent 5c13062a
Showing with 1 additions and 1 deletions
...@@ -33,7 +33,7 @@ const ( ...@@ -33,7 +33,7 @@ const (
bank_sql6 = "select * from lie_basic_month_tolerance where erp_company_code='%s' and month in(%s)" //获取详情 bank_sql6 = "select * from lie_basic_month_tolerance where erp_company_code='%s' and month in(%s)" //获取详情
//平台逾期金额率 //平台逾期金额率
bank_sql7 = "SELECT ( sum(delay_amount)/sum(receive_amount) ) as plat_rate from lie_basic_month where MONTH in (%s)" bank_sql7 = "SELECT ( sum(delay_amount)/sum(receive_amount) ) as plat_rate from lie_basic_month_tolerance where MONTH in (%s)"
//客户近6个月平均逾期金额率 //客户近6个月平均逾期金额率
bank_sql8 = "SELECT ( SELECT SUM(delay_amount) / SUM(receive_amount) FROM lie_basic_month_tolerance WHERE erp_company_code = '%s' AND MONTH IN (%s)) AS my_rate " bank_sql8 = "SELECT ( SELECT SUM(delay_amount) / SUM(receive_amount) FROM lie_basic_month_tolerance WHERE erp_company_code = '%s' AND MONTH IN (%s)) AS my_rate "
//平台完成账期订单金额 //平台完成账期订单金额
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment