商品问题

This commit is contained in:
2025-12-11 19:30:14 +08:00
parent 76024d9f0d
commit 4e15007e17

View File

@@ -56,7 +56,7 @@ public class MkPointsGoodsServiceImpl extends ServiceImpl<MkPointsGoodsMapper, M
if ("优惠券".equals(goods.getGoodsCategory())) {
ShopCoupon one = shopCouponService.getOne(query().eq(ShopCoupon::getId, goods.getCouponId())
.eq(ShopCoupon::getShopId, shopId)
.eq(ShopCoupon::getStatus, 1)
// .eq(ShopCoupon::getStatus, 1)
.eq(ShopCoupon::getIsDel, 0));
goods.setCouponInfo(one);
}