From 86df207c37502cce1b2043e1c7c0486459eef1d6 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 13 三月 2025 19:58:45 +0800 Subject: [PATCH] 党员、诉求评论基础代码 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActRegistDAO.java | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActRegistDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActRegistDAO.java index d3bcfb2..5c509a9 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActRegistDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActRegistDAO.java @@ -6,10 +6,13 @@ import com.panzhihua.common.model.vos.community.ComActActEvaluateExcelVO; import com.panzhihua.common.model.vos.community.ComActActRegistExcelVO; import com.panzhihua.common.model.vos.community.ComActActRegistVO; +import com.panzhihua.service_community.entity.JinhuiCoinGeneralTable; import com.panzhihua.service_community.model.dos.ComActActRegistDO; +import com.panzhihua.service_community.model.dos.ComActActivityDO; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; +import java.util.Date; import java.util.List; /** @@ -37,4 +40,45 @@ * @return */ List<ComActActRegistVO> listRegistRecord(@Param("id") Long id, @Param("userId") Long userId); + + /** + * 获取总积分奖励 + * @param activityId + * @param userId + * @return + */ + Integer selectTotalAwardWithRegist(@Param("activityId") Long activityId, @Param("userId") Long userId); + + JinhuiCoinGeneralTable getDetails(@Param("userId") String userIdv); + + + /** + * 获取未签退的活动id + * @return + */ + List<String> getNotTimeActivityList(); + + /** + * 根据活动id获取没有签退的人员记录 + * @param activityId + * @return + */ + List<ComActActRegistVO> getNotTimeUser(@Param("activityId") String activityId); + + /** + * 根据活动id获取活动结束时间 + * @param activityId + * @return + */ + ComActActivityDO getActivityEndTime(@Param("activityId") String activityId); + + /** + * 更新签退时间 + * @param id + * @param data + * @return + */ + int updateEndTime(@Param("id") String id, @Param("data") Date data); + + } -- Gitblit v1.7.1