购物车只查询当天购物车,规格增加销量

This commit is contained in:
19991905653
2024-04-01 16:18:27 +08:00
parent bebbd8c3c3
commit 03a447d95b
6 changed files with 16 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ public interface TbCashierCartMapper {
TbCashierCart selectByDetail(@Param("masterId") String masterId, @Param("productId") String productId,
@Param("shopId") String shopId, @Param("skuId") String skuId, @Param("day") String day,@Param("uuid") String uuid);
List<TbCashierCart> selectByMaskerId(@Param("masterId")String masterId, @Param("shopId")Integer shopId,@Param("status") String status);
List<TbCashierCart> selectByMaskerId(@Param("masterId")String masterId, @Param("shopId")Integer shopId,@Param("status") String status,@Param("day") String day);
void deleteByCartId(@Param("masterId") String masterId, @Param("cartId")Integer cartId);

View File

@@ -27,4 +27,6 @@ public interface TbProductSkuMapper {
TbProductSkuWithBLOBs selectByShopIdAndProductIdAndSpec(@Param("shopId") String shopId, @Param("productId") String productId, @Param("spec") String spec);
TbProductSkuWithBLOBs selectByProduct(@Param("productId") Integer productId);
void updateByskuId(@Param("productSkuId") Integer productSkuId,@Param("num") Integer num);
}