From 462c46cf5c1d3b39057b924024c69804c5a174f7 Mon Sep 17 00:00:00 2001 From: Jackwang Date: Fri, 7 Aug 2020 18:11:54 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=86=85=E5=AE=B9=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E3=80=91-=E3=80=90=E5=88=9D=E5=BF=83=E4=BA=92=E5=8A=A9?= =?UTF-8?q?=E6=89=93=E5=8D=A1=E9=A9=B3=E5=9B=9E=E8=B0=83=E6=95=B4=E3=80=91?= =?UTF-8?q?-=EF=BC=88=E7=8E=8B=E7=AB=A5=EF=BC=89-2020/8/7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activity/service/impl/ActInfoServiceImpl.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActInfoServiceImpl.java b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActInfoServiceImpl.java index e9e1df4a2..3df781d4e 100644 --- a/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActInfoServiceImpl.java +++ b/esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActInfoServiceImpl.java @@ -633,6 +633,17 @@ public class ActInfoServiceImpl extends BaseServiceImpl queryMap = new HashMap<>(); + queryMap.put("ACT_USER_ID",actUserClockLogEntity.getActUserId()); + List actUserClockLogEntities = actUserClockLogDao.selectByMap(queryMap); + if(actUserClockLogEntities.size()==1){ + ActUserRelationEntity actUserRelationEntity = new ActUserRelationEntity(); + actUserRelationEntity.setId(actUserClockLogEntity.getActUserId()); + actUserRelationEntity.setStatus("1"); + actUserRelationDao.updateById(actUserRelationEntity); + } actUserClockLogDao.rejectActClockInfo(dto.getRelationId()); actClockPicDao.rejectActClockPicInfo(dto.getRelationId()); return new Result();