feat():解决RuleDataServiceImpl依赖循环 与 AsyncLogService注入不到报错
parent
e94800c28a
commit
e7ce39d31b
|
@ -9,6 +9,9 @@ target/
|
||||||
*.iml
|
*.iml
|
||||||
*.ipr
|
*.ipr
|
||||||
|
|
||||||
|
### Logs ###
|
||||||
|
logs
|
||||||
|
|
||||||
### Eclipse ###
|
### Eclipse ###
|
||||||
.apt_generated
|
.apt_generated
|
||||||
.classpath
|
.classpath
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.muyu;
|
package com.muyu;
|
||||||
|
|
||||||
|
import com.muyu.common.security.annotation.EnableMyFeignClients;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
|
@ -11,6 +12,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
* @Date:2024/8/22 下午7:49
|
* @Date:2024/8/22 下午7:49
|
||||||
*/
|
*/
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
|
@EnableMyFeignClients
|
||||||
public class MuYuRuleDataApplication {
|
public class MuYuRuleDataApplication {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(MuYuRuleDataApplication.class, args);
|
SpringApplication.run(MuYuRuleDataApplication.class, args);
|
||||||
|
|
|
@ -29,8 +29,6 @@ public class RuleDataServiceImpl
|
||||||
extends ServiceImpl<RuleDataMapper, RuleData>
|
extends ServiceImpl<RuleDataMapper, RuleData>
|
||||||
implements RuleDataService {
|
implements RuleDataService {
|
||||||
|
|
||||||
@Autowired private RuleDataMapper ruleDataMapper;
|
|
||||||
@Autowired private RuleDataService ruleDataService;
|
|
||||||
@Autowired private RuleDataInfoService ruleDataInfoService;
|
@Autowired private RuleDataInfoService ruleDataInfoService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue