| | |
| | | import com.gkhy.exam.coalmine.service.EmonRecordManagerService; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.system.service.SysDistrictService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | * @author hz |
| | | * @since 2023-09-13 10:13:39 |
| | | */ |
| | | @Api(tags = "监控记录接收管理") |
| | | @RestController |
| | | @RequestMapping("/emonRecord") |
| | | public class EmonRecordController extends BaseController { |
| | |
| | | */ |
| | | @ApiOperation(value = "根据id删除考场异常监控记录",httpMethod = "GET") |
| | | @ApiImplicitParam(name = "id",dataTypeClass = Long.class,value = "记录id",required = true) |
| | | @GetMapping("/exam/del") |
| | | @GetMapping("/exam/del/{id}") |
| | | public AjaxResult deleteExamRecord(@PathVariable @NotNull(message = "id不能为空") Long id) { |
| | | return this.emonRecordManagerService.deleteExamRecord(id); |
| | | } |
| | |
| | | */ |
| | | @ApiOperation(value = "根据id删除培训异常监控记录",httpMethod = "GET") |
| | | @ApiImplicitParam(name = "id",dataTypeClass = Long.class,value = "记录id",required = true) |
| | | @GetMapping("/train/del") |
| | | @GetMapping("/train/del/{id}") |
| | | public AjaxResult deleteTrainRecord(@PathVariable @NotNull(message = "id不能为空") Long id) { |
| | | return this.emonRecordManagerService.deleteTrainRecord(id); |
| | | } |