Browse Source

feat:p718 rpc调整

fuwencai 3 months ago
parent
commit
103c4df008
1 changed files with 3 additions and 3 deletions
  1. 3 3
      service/activityServiceNew.go

+ 3 - 3
service/activityServiceNew.go

@@ -179,9 +179,9 @@ func getAllActivity(productCode, userId, appId, userName, userPhone string, rece
 		Where(" a.state=1  and if ( (a.preheatingTime IS NULL or a.preheatingTime='' )  , a.beginDate<now() ,a.preheatingTime<now())  and a.endDate>=now() and p.productCode=? ", productCode).
 		GroupBy("a.id").
 		Find(&activityList)
-	if len(activityList) == 0 {
-		return activityArr
-	}
+	//if len(activityList) == 0 {
+	//	return activityArr
+	//}
 	//活动过期奖券有效查询
 	invalidActivityArr := []entity.Activity{}
 	err = orm.SQL("SELECT  a.*, GROUP_CONCAT(u.lotteryId) as lotteryIdArr  FROM "+