|
@@ -528,7 +528,7 @@ func (m *msgRemind) loadOrder() {
|
|
|
log.Println("开始加载72小时内的订单到内存中。。。")
|
|
|
startTime := time.Unix(time.Now().Unix()-MsgRemind.getExpireTime(), 0)
|
|
|
startTimes := FormatDate(&startTime, Date_Full_Layout)
|
|
|
- list := Mysql.SelectBySql("select id,order_code,order_money,user_id,create_time,remind_status,vip_type,product_type,is_backstage_order from dataexport_order where order_money>0 and create_time>=? and product_type in ('VIP订阅','大会员','企业投标信用报告') and order_status=0 and del_status=0 and (remind_status<>2 or remind_status is null) and audit_status=3 and order_channel != 'xdqd04'", startTimes)
|
|
|
+ list := Mysql.SelectBySql("select id,order_code,order_money,user_id,create_time,remind_status,vip_type,product_type,is_backstage_order from dataexport_order where order_money>0 and create_time>=? and product_type in ('VIP订阅','大会员','投标企业信用报告') and order_status=0 and del_status=0 and (remind_status<>2 or remind_status is null) and audit_status=3 and order_channel != 'xdqd04'", startTimes)
|
|
|
if list == nil {
|
|
|
log.Println("加载72小时内的订单到内存中失败")
|
|
|
} else {
|