处理注入失败问题

develop
bayuzhen 2024-08-26 10:13:22 +08:00
parent c04fefc812
commit 04e5403878
2 changed files with 3 additions and 6 deletions

View File

@ -23,8 +23,7 @@ import java.util.*;
@RequiredArgsConstructor @RequiredArgsConstructor
public class YunKongGetAppSchedule { public class YunKongGetAppSchedule {
private final Logger logger = LoggerFactory.getLogger(this.getClass()); private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired private final YkUtils ykUtils;
private YkUtils ykUtils;
private final StringRedisTemplate redisTemplate; private final StringRedisTemplate redisTemplate;

View File

@ -44,10 +44,8 @@ public class TrxServiceImpl implements TrxService {
private UserServiceImpl userServiceImpl; private UserServiceImpl userServiceImpl;
@Autowired @Autowired
private UserRepository userRepository; private UserRepository userRepository;
@Autowired private final YkUtils ykUtils;
private YkUtils ykUtils; private final QxUtils qxUtils;
@Autowired
private QxUtils qxUtils;
@Autowired @Autowired
private RoleRepository roleRepository; private RoleRepository roleRepository;
private final StringRedisTemplate redisTemplate; private final StringRedisTemplate redisTemplate;