소스 검색

企业身份奖券处理

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