From cb9c9bfa15600047383150916ef21432d72d01b2 Mon Sep 17 00:00:00 2001 From: chengpengxiang <15503679582@163.com> Date: Fri, 10 Nov 2023 11:35:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=82=AE=E7=AE=B1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/dl/officialsite/team/TeamService.java | 1 + src/main/resources/application-template.yml | 2 -- src/main/resources/application.yml | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/dl/officialsite/team/TeamService.java b/src/main/java/com/dl/officialsite/team/TeamService.java index eec8f971..bd752559 100644 --- a/src/main/java/com/dl/officialsite/team/TeamService.java +++ b/src/main/java/com/dl/officialsite/team/TeamService.java @@ -91,6 +91,7 @@ public javax.persistence.criteria.Predicate toPredicate( return teamsMembersVos; } + @Transactional(rollbackOn = Exception.class) public void join(TeamMemberJoinVO teamMember) { Member member = memberRepository.findById(teamMember.getMemberId()).get(); /* if (ObjectUtils.isEmpty(member.getTelegramId()) || ObjectUtils.isEmpty( diff --git a/src/main/resources/application-template.yml b/src/main/resources/application-template.yml index 8ea78759..ee0a2d46 100644 --- a/src/main/resources/application-template.yml +++ b/src/main/resources/application-template.yml @@ -29,8 +29,6 @@ spring: auth: true ssl: enable: true - starttls: - enable: true session: store-type: jdbc jdbc: diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index eba42cd1..27b36891 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -29,8 +29,6 @@ spring: auth: true ssl: enable: true - starttls: - enable: true session: store-type: jdbc jdbc: