From ddc153b1add32b6a7daf15e8c35bd602fd19074f Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.coom> Date: Tue, 29 Sep 2020 15:27:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E7=A1=AE=E8=AE=A4=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E5=89=8D=E7=AB=AF=E5=AF=B9=E6=8C=89=E9=92=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E9=98=B2=E8=BF=9E=E5=87=BB=EF=BC=8C=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=87=8D=E5=A4=8D=E6=93=8D=E4=BD=9C=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epdc/modules/activity/dao/ActUserClockLogDao.java | 11 +++++++++++ .../service/impl/ActUserClockLogServiceImpl.java | 5 +++++ .../resources/mapper/activity/ActUserClockLogDao.xml | 11 +++++++++++ 3 files changed, 27 insertions(+) diff --git a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/dao/ActUserClockLogDao.java b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/dao/ActUserClockLogDao.java index 466f96b6..064b43a9 100644 --- a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/dao/ActUserClockLogDao.java +++ b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/dao/ActUserClockLogDao.java @@ -54,4 +54,15 @@ public interface ActUserClockLogDao extends BaseDao { * @return void */ void rejectActClockInfo(@Param("relationId") String relationId); + + /** + * 统计 同一个用户对同一活动确认积分的次数 + * @param userId + * @param actId + * @return java.lang.Integer + * @Author zhangyong + * @Date 15:06 2020-09-29 + **/ + Integer countPointsConfirmationTimes(@Param("userId") String userId, + @Param("actId") String actId); } diff --git a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActUserClockLogServiceImpl.java b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActUserClockLogServiceImpl.java index 01350a93..db39fe80 100644 --- a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActUserClockLogServiceImpl.java +++ b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActUserClockLogServiceImpl.java @@ -163,6 +163,11 @@ public class ActUserClockLogServiceImpl extends BaseServiceImpl + +