|
@@ -65,7 +65,7 @@ public class SysCouponIssueRecordServiceImpl extends ServiceImpl<SysCouponIssueR
|
|
|
.map(String::valueOf)
|
|
|
.map(Integer::parseInt)
|
|
|
.map(sysCouponService::get)
|
|
|
- .filter(c -> c.getStatus() == 1)
|
|
|
+ .filter(c -> c.getStatus() == 1 && c.getIssuanceType() == 1)
|
|
|
.orElseThrow(() -> new BizException("查询不到优惠券!"));
|
|
|
|
|
|
Integer tenantId = TenantContextHolder.getTenantId();
|