WH01243 2 роки тому
батько
коміт
b64daa0e83
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      service/activityService.go

+ 1 - 1
service/activityService.go

@@ -879,7 +879,7 @@ func NoLotteryHandle(productCode, userId, appId string, userPrice *[]entity.User
 		productQuery += " and ( p.productCode='" + productCode + "' )"
 	}
 	if isDistribution {
-		productQuery += " and ( p.pr.parentCode not in (" + C.C.NotAvailableCode + "))"
+		productQuery += " and ( p.parentCode not in (" + C.C.NotAvailableCode + "))"
 	}
 	orm := entity.Engine.NewSession()
 	//var err error