|
|
@@ -189,7 +189,8 @@ public class WeatherController {
|
|
|
List<WeatherInfo> list = this.weatherInfoService.getWeatherInfoListByRecordTime(area.getId(), startTime, endTime);
|
|
|
|
|
|
// 3. 模板文件校验
|
|
|
- String templatePath = "C:\\upload\\excel\\weather.xlsx";
|
|
|
+ String templatePath = "/mnt/sdc/Users/hongchuangyanfa/Desktop/excel/weather.xlsx";
|
|
|
+ //String templatePath = "C:\\upload\\excel\\weather.xlsx";
|
|
|
File templateFile = new File(templatePath);
|
|
|
if (!templateFile.exists() || !templateFile.isFile()) {
|
|
|
throw new RuntimeException("Excel模板文件不存在:" + templatePath);
|