From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期一, 09 六月 2025 11:54:00 +0800 Subject: [PATCH] 6.9新增登录失败冻结逻辑 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComShopFlowerGoodsDAO.java | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComShopFlowerGoodsDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComShopFlowerGoodsDAO.java index f8de9d6..cae2e8a 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComShopFlowerGoodsDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComShopFlowerGoodsDAO.java @@ -7,10 +7,13 @@ import com.panzhihua.common.model.dtos.shop.PageComShopFlowerGoodsDTO; import com.panzhihua.common.model.dtos.shop.PageComShopFlowerStoreDTO; import com.panzhihua.common.model.vos.shop.ComShopFlowerGoodsVO; +import com.panzhihua.common.model.vos.shop.ComShopOrderStoreIdCountVO; import com.panzhihua.common.model.vos.shop.PageShopFlowerGoodsVO; import com.panzhihua.service_community.model.dos.ComShopFlowerGoodsDO; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; + +import java.util.List; /** * @auther yh @@ -25,7 +28,7 @@ /** * 根据店铺id查询商品列表 * - * @param page 分页参数 + * @param page 分页参数 * @param pageComShopFlowerStoreDTO 请求参数 * @return 分页商品列表 */ @@ -34,9 +37,19 @@ /** * 分页查询商品列表 * - * @param page 分页参数 + * @param page 分页参数 * @param comShopFlowerGoodsDTO 请求参数 * @return 商品列表 */ IPage<ComShopFlowerGoodsVO> pageShopGoodByApps(@Param("page") Page page, @Param("comShopFlowerGoodsDTO") ComShopFlowerGoodsDTO comShopFlowerGoodsDTO); + + /** + * 商店内在售商品 + * + * @param storeId + * @return + */ + Integer selectCountSaleByStoreId(@Param("storeId") Long storeId); + + List<ComShopOrderStoreIdCountVO> countSaleByUserId(@Param("userId") Long userId); } -- Gitblit v1.7.1