|
|
@@ -26,6 +26,6 @@ public interface YhShopGoodsSkuMapper extends BaseMapper<YhShopGoodsSku> {
|
|
|
@Select("select sku_id,price from yh_shop_goods_sku where yhs_id = #{yhsId} and goods_id = #{goodsId} and deleted is true and status is true order by price limit 1")
|
|
|
YhShopGoodsSku selectMinPriceSkuByYhsId(@Param("yhsId") Long yhsId, @Param("goodsId") Long goodsId);
|
|
|
|
|
|
- @Select("select * from yh_shop_goods_sku where sku_id = #{skuId} and price not between #{minPrice} #{maxPrice} and status = 1")
|
|
|
+ @Select("select * from yh_shop_goods_sku where sku_id = #{skuId} and price not between #{minPrice} and #{maxPrice} and status = 1")
|
|
|
List<YhShopGoodsSku> getBelowPriceShopSku(@Param("skuId") Long skuId, @Param("minPrice") BigDecimal minPrice, @Param("maxPrice") BigDecimal maxPrice);
|
|
|
}
|