wcj 5 年之前
父節點
當前提交
2eec7e7313
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/modules/subscribepay/src/util/msgremind.go

+ 1 - 1
src/jfw/modules/subscribepay/src/util/msgremind.go

@@ -238,7 +238,7 @@ func init() {
 	go func() {
 		log.Println("开始加载72小时内的订单到内存中。。。")
 		startTime := time.Now().Unix() - MsgRemind.getExpireTime()
-		list := Mysql.SelectBySql("select id,order_code,order_money,user_id,prepay_time,remind_status,vip_type from dataexport_order where order_money>0 prepay_time>=? and product_type='VIP订阅' and order_status=0 and (remind_status<>2 or remind_status is null)", startTime)
+		list := Mysql.SelectBySql("select id,order_code,order_money,user_id,prepay_time,remind_status,vip_type from dataexport_order where order_money>0 and prepay_time>=? and product_type='VIP订阅' and order_status=0 and (remind_status<>2 or remind_status is null)", startTime)
 		if list == nil {
 			log.Println("加载72小时内的订单到内存中失败")
 			return