From 10df7e29b51d6a2efacc83d870856f57d97a9b66 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期一, 24 十月 2022 13:48:24 +0800 Subject: [PATCH] #feat 修改别名 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPbMemberDAO.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/ComPbMemberDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPbMemberDAO.java index aed5209..02f9caf 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPbMemberDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPbMemberDAO.java @@ -37,14 +37,14 @@ * @param date * @return */ - BigScreenActivityLine selectActivityCountMonth(@Param("communityId")Long communityId, @Param("date")String date); + BigScreenActivityLine selectActivityCountMonth(@Param("communityId")Long communityId, @Param("date")String date,@Param("year")String year); /** * 查询党员积分前3 * @param communityId * @return */ - List<BigScreenActivityTop> selectActivityTop(@Param("communityId") Long communityId); + IPage<BigScreenActivityTop> selectActivityTop(Page page,@Param("communityId") Long communityId); /** * 服务数据查询 @@ -59,4 +59,18 @@ * @return */ List<BigScreenServiceUser> bigScreenServiceUser(@Param("communityId")Long communityId); + + /** + * 通过userID确认是否是党员 + * @param userId + * @return + */ + Integer checkIsPbMember(@Param("userId") Long userId); + + /** + * 通过userID确认是否是志愿者 + * @param userId + * @return + */ + Integer checkIsVolunteer(@Param("userId") Long userId); } -- Gitblit v1.7.1