|
|
@@ -298,9 +298,9 @@ public class WeatherInfoServiceImpl extends ServiceImpl<WeatherInfoMapper, Weath
|
|
|
//去除重复天气,并填充每个合同段缺失的天气
|
|
|
@Scheduled(cron = "0 0 9 * * ?")
|
|
|
public void scanMissWeather(){
|
|
|
-// if (!SystemUtils.isLinux()) {
|
|
|
-// return;
|
|
|
-// }
|
|
|
+ if (!SystemUtils.isLinux()) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
//获取所有项目的合同段
|
|
|
List<ContractInfoVO> contractInfos = baseMapper.getAllContract();
|
|
|
for (ContractInfoVO contract : contractInfos) {
|