From e93c2fa0d3f054f6dd5adef5ecce0c4e58a5ffa9 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期五, 26 十一月 2021 19:30:55 +0800 Subject: [PATCH] [update] 調整OtpVerify需寫入至Otp_tmp table中 --- pamapi/src/main/java/com/pollex/pam/service/OtpTmpService.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/service/OtpTmpService.java b/pamapi/src/main/java/com/pollex/pam/service/OtpTmpService.java index 0d718fd..df66731 100644 --- a/pamapi/src/main/java/com/pollex/pam/service/OtpTmpService.java +++ b/pamapi/src/main/java/com/pollex/pam/service/OtpTmpService.java @@ -2,6 +2,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; import com.pollex.pam.domain.OtpTmp; import com.pollex.pam.enums.OtpLoginTypeEnum; @@ -9,6 +10,7 @@ import com.pollex.pam.repository.OtpTmpRepository; @Service +@Transactional public class OtpTmpService { @Autowired -- Gitblit v1.8.0