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个月平均逾期金额率
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 "