| | |
| | | import com.gkhy.fourierSpecialGasMonitor.entity.req.GasWarnLogCountByTimeReqDTO; |
| | | import com.gkhy.fourierSpecialGasMonitor.entity.req.GasWarnLogInfoReqDTO; |
| | | import com.gkhy.fourierSpecialGasMonitor.entity.req.HandleGasWarnLogReqDTO; |
| | | import com.gkhy.fourierSpecialGasMonitor.entity.req.WindRoseByTimeReqDTO; |
| | | import com.gkhy.fourierSpecialGasMonitor.service.GasWarnLogService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | Result result = gasWarnLogService.gasWarnLogInfoByTime(gasWarnLogInfoReqDTO); |
| | | return result; |
| | | } |
| | | |
| | | @PostMapping("/gasWindRoseByTime") |
| | | public Result gasWindRoseByTime(@RequestBody WindRoseByTimeReqDTO reqDTO){ |
| | | Result result = gasWarnLogService.gasWindRoseByTime(reqDTO); |
| | | return result; |
| | | } |
| | | } |