Browse Source

fix:subscribepay问题处理

fuwencai 11 months ago
parent
commit
5c3098abeb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/jfw/modules/subscribepay/src/entity/equityActive.go

+ 1 - 0
src/jfw/modules/subscribepay/src/entity/equityActive.go

@@ -325,6 +325,7 @@ func (e *EquityActive) SendPayRaffleMsg() {
 	idRs := util.Mysql.SelectBySql(query, now, now, e.OrderTypeCode)
 	idRs := util.Mysql.SelectBySql(query, now, now, e.OrderTypeCode)
 	if idRs == nil || len(*idRs) == 0 {
 	if idRs == nil || len(*idRs) == 0 {
 		log.Println("该订单类型未查询到有效活动信息", e.OrderTypeCode)
 		log.Println("该订单类型未查询到有效活动信息", e.OrderTypeCode)
+		return
 	}
 	}
 	// 如果有多个 只取第一个
 	// 如果有多个 只取第一个
 	activityId := common.IntAll((*idRs)[0]["id"])
 	activityId := common.IntAll((*idRs)[0]["id"])