|
//unServiceList := util.Mysql.Find("dataexport_order", map[string]interface{}{"product_type": "历史数据", "order_status": 1, "service_status": 0}, "download_url,user_mail,data_count,pay_time,order_code", "", -1, -1)
|
|
//unServiceList := util.Mysql.Find("dataexport_order", map[string]interface{}{"product_type": "历史数据", "order_status": 1, "service_status": 0}, "download_url,user_mail,data_count,pay_time,order_code", "", -1, -1)
|
|
- unServiceList := util.Mysql.Find("dataexport_order", map[string]interface{}{"product_type": "历史数据", "order_status": 1, "service_status": 0, "refund_status": 0}, "download_url,user_mail,data_count,pay_time,order_code", "", -1, -1)
|
|
|
|
|
|
+ unServiceList := util.Mysql.SelectBySql(`SELECT download_url,user_mail,data_count,pay_time,order_code,refund_status FROM dataexport_order WHERE product_type = '历史数据' and order_status = 1 and service_status = 0 and (refund_status = 0 or refund_status is null) `)
|
|
|
|
+ //unServiceList := util.Mysql.Find("dataexport_order", map[string]interface{}{"product_type": "历史数据", "order_status": 1, "service_status": 0, "refund_status": 0}, "download_url,user_mail,data_count,pay_time,order_code", "", -1, -1)
|