燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-08-08 436e03fe73a19bd485e23f78da5d851bbfe85d25
src/main/java/com/yssh/controller/WeatherController.java
@@ -1,7 +1,7 @@
package com.yssh.controller;
import com.yssh.entity.Weather;
import com.yssh.service.IWeatherService;
import com.yssh.service.WeatherService;
import com.yssh.utils.Result;
import io.swagger.annotations.Api;
@@ -9,9 +9,9 @@
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
@@ -29,8 +29,8 @@
@RequestMapping("/weather")
@SuppressWarnings("rawtypes")
public class WeatherController {
    @Autowired
    private IWeatherService weatherService;
    @Resource
    private WeatherService weatherService;
    private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd-HH:00:00");