|
|
@@ -166,15 +166,15 @@ public class WeatherController {
|
|
|
@SneakyThrows
|
|
|
@PostMapping(value = "/downloadWeatherExcel")
|
|
|
@ApiOperationSupport(order = 13)
|
|
|
- @ApiOperation(value = "客户端-下载元素表对应的excel模板")
|
|
|
+ @ApiOperation(value = "客户端-下载天气台账excel模板")
|
|
|
public ResponseEntity<Resource> downloadNeiYe(
|
|
|
- @RequestParam String contract,
|
|
|
+ @RequestParam String contractId,
|
|
|
@RequestParam String startTime,
|
|
|
@RequestParam String endTime,
|
|
|
HttpServletResponse response) {
|
|
|
|
|
|
// 1. 查询区域信息
|
|
|
- ProjectContractArea area = this.projectContractAreaClient.queryContractAreaByContractId(contract);
|
|
|
+ ProjectContractArea area = this.projectContractAreaClient.queryContractAreaByContractId(contractId);
|
|
|
// 2. 查询天气数据
|
|
|
List<WeatherInfo> list = this.weatherInfoService.getWeatherInfoListByRecordTime(area.getId(), startTime, endTime);
|
|
|
|