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