| | |
| | | package com.gkhy.fourierSpecialGasMonitor.controller; |
| | | |
| | | import com.gkhy.fourierSpecialGasMonitor.annotation.RepeatedClick; |
| | | import com.gkhy.fourierSpecialGasMonitor.commons.domain.Result; |
| | | import com.gkhy.fourierSpecialGasMonitor.commons.model.PageQuery; |
| | | import com.gkhy.fourierSpecialGasMonitor.entity.query.FindGasCategoryPageQuery; |
| | |
| | | |
| | | |
| | | @PostMapping("/add") |
| | | @RepeatedClick |
| | | public Result createGasWarnUser(@RequestBody CreateGasWarnUserReqDTO reqDto){ |
| | | Result result = gasWarnUserService.createGasWarnUser(reqDto); |
| | | return result; |
| | |
| | | } |
| | | |
| | | @PostMapping("/update") |
| | | @RepeatedClick |
| | | public Result updateGasWarnUser(@RequestBody UpdateGasWarnUserReqDTO reqDto){ |
| | | Result result = gasWarnUserService.updateGasWarnUser(reqDto); |
| | | return result; |