| | |
| | | import lombok.Data; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.Comparator; |
| | | import java.util.HashMap; |
| | |
| | | /** |
| | | * Created by vincent on 4/11/2024 |
| | | */ |
| | | @Component |
| | | //@Component |
| | | public class DigitalTwinDataScheduler { |
| | | |
| | | @Autowired |
| | |
| | | continue; |
| | | } |
| | | String codeData = codeMatrix[i][j]; |
| | | Code code = codeService.selectByData(codeData); |
| | | Code code = codeService.getCacheByData(codeData); |
| | | if (null == code) { |
| | | continue; |
| | | } |