安全隐患统计模块添加

main
dongdingding 2 years ago
parent b122b06488
commit 87da1183b3

@ -39,7 +39,6 @@ public class TcSafetyCountyController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('zongzhi:county:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(TcSafetyCounty tcSafetyCounty) 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") @PostMapping("/export")
public void export(HttpServletResponse response, TcSafetyCounty tcSafetyCounty) 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}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long 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 @PostMapping
public AjaxResult add(@RequestBody TcSafetyCounty tcSafetyCounty) 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 @PutMapping
public AjaxResult edit(@RequestBody TcSafetyCounty tcSafetyCounty) 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}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) public AjaxResult remove(@PathVariable Long[] ids)
{ {

Loading…
Cancel
Save