|
|
|
@ -39,7 +39,6 @@ public class TcSafetyCountyController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 查询安全隐患统计列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('zongzhi:county:list')")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo list(TcSafetyCounty tcSafetyCounty)
|
|
|
|
|
{
|
|
|
|
@ -51,8 +50,7 @@ public class TcSafetyCountyController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 导出安全隐患统计列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('zongzhi:county:export')")
|
|
|
|
|
@Log(title = "安全隐患统计", businessType = BusinessType.EXPORT)
|
|
|
|
|
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, TcSafetyCounty tcSafetyCounty)
|
|
|
|
|
{
|
|
|
|
@ -64,7 +62,7 @@ public class TcSafetyCountyController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 获取安全隐患统计详细信息
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('zongzhi:county:query')")
|
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/{id}")
|
|
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
|
|
|
|
{
|
|
|
|
@ -74,8 +72,7 @@ public class TcSafetyCountyController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 新增安全隐患统计
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('zongzhi:county:add')")
|
|
|
|
|
@Log(title = "安全隐患统计", businessType = BusinessType.INSERT)
|
|
|
|
|
|
|
|
|
|
@PostMapping
|
|
|
|
|
public AjaxResult add(@RequestBody TcSafetyCounty tcSafetyCounty)
|
|
|
|
|
{
|
|
|
|
@ -85,8 +82,7 @@ public class TcSafetyCountyController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 修改安全隐患统计
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('zongzhi:county:edit')")
|
|
|
|
|
@Log(title = "安全隐患统计", businessType = BusinessType.UPDATE)
|
|
|
|
|
|
|
|
|
|
@PutMapping
|
|
|
|
|
public AjaxResult edit(@RequestBody TcSafetyCounty tcSafetyCounty)
|
|
|
|
|
{
|
|
|
|
@ -96,8 +92,7 @@ public class TcSafetyCountyController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 删除安全隐患统计
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('zongzhi:county:remove')")
|
|
|
|
|
@Log(title = "安全隐患统计", businessType = BusinessType.DELETE)
|
|
|
|
|
|
|
|
|
|
@DeleteMapping("/{ids}")
|
|
|
|
|
public AjaxResult remove(@PathVariable Long[] ids)
|
|
|
|
|
{
|
|
|
|
|