Skip to content

Commit

Permalink
fix: 优化部分代码 (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
silent-wind1 authored Feb 27, 2024
1 parent 9522649 commit ae1721b
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.oddfar.campus.business.service.IMTService;
import com.oddfar.campus.business.service.IUserService;
import lombok.RequiredArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
Expand All @@ -15,13 +16,13 @@
*/
@Configuration
@EnableScheduling
@RequiredArgsConstructor
public class CampusIMTTask {
private static final Logger logger = LoggerFactory.getLogger(CampusIMTTask.class);

@Autowired
private IMTService imtService;
@Autowired
private IUserService iUserService;
private final IMTService imtService;

private final IUserService iUserService;


/**
Expand Down

0 comments on commit ae1721b

Please sign in to comment.