From bc93d1cd44c4e63239e07e319fd6b3db08f62cd7 Mon Sep 17 00:00:00 2001 From: steve Date: Tue, 24 Sep 2024 18:16:00 -0400 Subject: [PATCH] add missing annotation --- .../com/zfgc/zfgbb/config/annotations/BbService.java | 10 ++++++++++ .../java/com/zfgc/zfgbb/services/core/UserService.java | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/zfgc/zfgbb/config/annotations/BbService.java diff --git a/src/main/java/com/zfgc/zfgbb/config/annotations/BbService.java b/src/main/java/com/zfgc/zfgbb/config/annotations/BbService.java new file mode 100644 index 0000000..86eb52e --- /dev/null +++ b/src/main/java/com/zfgc/zfgbb/config/annotations/BbService.java @@ -0,0 +1,10 @@ +package com.zfgc.zfgbb.config.annotations; + +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +@Service +@Transactional +public @interface BbService { + +} diff --git a/src/main/java/com/zfgc/zfgbb/services/core/UserService.java b/src/main/java/com/zfgc/zfgbb/services/core/UserService.java index fb719a5..fdad858 100644 --- a/src/main/java/com/zfgc/zfgbb/services/core/UserService.java +++ b/src/main/java/com/zfgc/zfgbb/services/core/UserService.java @@ -11,7 +11,6 @@ import org.springframework.transaction.annotation.Transactional; import org.springframework.web.client.RestTemplate; -import com.zfgc.zfgbb.config.annotations.BbService; import com.zfgc.zfgbb.dataprovider.users.UserDataProvider; import com.zfgc.zfgbb.model.User;