商品问题
This commit is contained in:
@@ -56,7 +56,7 @@ public class MkPointsGoodsServiceImpl extends ServiceImpl<MkPointsGoodsMapper, M
|
|||||||
if ("优惠券".equals(goods.getGoodsCategory())) {
|
if ("优惠券".equals(goods.getGoodsCategory())) {
|
||||||
ShopCoupon one = shopCouponService.getOne(query().eq(ShopCoupon::getId, goods.getCouponId())
|
ShopCoupon one = shopCouponService.getOne(query().eq(ShopCoupon::getId, goods.getCouponId())
|
||||||
.eq(ShopCoupon::getShopId, shopId)
|
.eq(ShopCoupon::getShopId, shopId)
|
||||||
.eq(ShopCoupon::getStatus, 1)
|
// .eq(ShopCoupon::getStatus, 1)
|
||||||
.eq(ShopCoupon::getIsDel, 0));
|
.eq(ShopCoupon::getIsDel, 0));
|
||||||
goods.setCouponInfo(one);
|
goods.setCouponInfo(one);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user