From 8c0b5b30e5200e7bd45aa34507c3623e17fcce91 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期四, 24 八月 2023 13:47:24 +0800 Subject: [PATCH] 新增小程序积分列表 修改积分发放流程 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ConvenientServiceCategoryDAO.java | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ConvenientServiceCategoryDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ConvenientServiceCategoryDAO.java index 709d88a..732390e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ConvenientServiceCategoryDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ConvenientServiceCategoryDAO.java @@ -37,7 +37,7 @@ * @param createdBy * @return */ - int createMerchantServiceRelation(@Param("merchantId") Long merchantId, @Param("serviceId") Long serviceId, + int createMerchantServiceRelation(@Param("id")Long id,@Param("merchantId") Long merchantId, @Param("serviceId") Long serviceId, @Param("name") String name, @Param("createdBy") Long createdBy); /** @@ -59,5 +59,19 @@ * @param merchantId * @return serviceIds */ - List<Long> selectServiceIdsForMerchant(@Param("merchantId") Long merchantId); + List<String> selectServiceIdsForMerchant(@Param("merchantId") Long merchantId); + + /** + * 查看服务分类是否被引用 + * @param categoryId + * @return + */ + int checkCategoryIsUsing(@Param("categoryId") Long categoryId); + + /** + * 获取该社区商家数量大于0的分类 + * @param communityId + * @return + */ + List<ConvenientServiceCategoryVO> selectSuitableServiceCategories(@Param("communityId") Long communityId,@Param("areaCode")String areaCode); } -- Gitblit v1.7.1