处理注入失败问题

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
public class YunKongGetAppSchedule {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private YkUtils ykUtils;
private final YkUtils ykUtils;
private final StringRedisTemplate redisTemplate;

View File

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