From b2fce0dc7dc4ea5dec9792a2bc3ceb9d33d6e07b Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期一, 04 九月 2023 13:59:52 +0800 Subject: [PATCH] 修改后台社区动态加载不出来 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java index 53872ad..f06f38c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/VolunteerMerchantService.java @@ -3,11 +3,15 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.community.VolunteerMerchantVO; -import com.panzhihua.service_community.entity.SysUser; import com.panzhihua.service_community.entity.VolunteerMerchant; +import org.apache.ibatis.annotations.Param; public interface VolunteerMerchantService extends IService<VolunteerMerchant> { + + + + R getById(String id); /** * 分页查询 * @param @@ -29,7 +33,12 @@ R deleteVolunteerMerchant(String id); - + /** + * 判断是否是商家 + * @param userId + * @return + */ + R isMerchant(@Param("userId") String userId); /** * 根据电话号码 或者姓名查询用户 * @param -- Gitblit v1.7.1