|
|
@ -140,7 +140,7 @@ public class ProductQueryServiceImpl implements ProductQueryService { |
|
|
} else { |
|
|
} else { |
|
|
int count = purchaseProductRecordQueryService.countPurchasedBy(record.getProductSpecId(), userId); |
|
|
int count = purchaseProductRecordQueryService.countPurchasedBy(record.getProductSpecId(), userId); |
|
|
if (count < record.getPurchaseTimeLimit().getValue()) { |
|
|
if (count < record.getPurchaseTimeLimit().getValue()) { |
|
|
list.add(record); |
|
|
|
|
|
|
|
|
resultList.add(record); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|