package com.gkhy.web.controller.safety; import com.gkhy.common.core.controller.BaseController; import com.gkhy.common.core.domain.AjaxResult; import com.gkhy.common.core.page.TableDataInfo; import com.gkhy.system.domain.DailySafetyInspection; import com.gkhy.system.domain.Hazards; import com.gkhy.system.domain.dto.HazardsEditDTO; import com.gkhy.system.service.HazardsService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; import java.util.List; /** *
* 隐患上报/整改/台账 前端控制器 *
* * @author hh * @since 2025-09-08 10:36:52 */ @RestController @RequestMapping("/system/hazards") @Api(tags = "隐患上报整改台账") public class HazardsController extends BaseController { @Autowired private HazardsService hazardsService; @GetMapping("/list") @ApiOperation(value = "隐患上报整改台账列表") public TableDataInfo list(Hazards hazards) { startPage(); List