|
@@ -36,7 +36,7 @@ public class TMtEhsopenitemController extends BaseController
|
|
|
/**
|
|
|
* 查询EHS开项跟踪列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:keymaintenance:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(TMtEhsopenitem tMtEhsopenitem)
|
|
|
{
|
|
@@ -48,7 +48,7 @@ public class TMtEhsopenitemController extends BaseController
|
|
|
/**
|
|
|
* 查询EHS开项跟踪列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:keymaintenance:list')")
|
|
|
@GetMapping("/ehsData")
|
|
|
public List<TMtEhsopenitem> ehsData(TMtEhsopenitem tMtEhsopenitem)
|
|
|
{
|
|
@@ -60,7 +60,7 @@ public class TMtEhsopenitemController extends BaseController
|
|
|
/**
|
|
|
* 导出EHS开项跟踪列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:keymaintenance:export')")
|
|
|
@Log(title = "EHS开项跟踪", businessType = BusinessType.EXPORT)
|
|
|
@GetMapping("/export")
|
|
|
public AjaxResult export(TMtEhsopenitem tMtEhsopenitem)
|
|
@@ -73,7 +73,7 @@ public class TMtEhsopenitemController extends BaseController
|
|
|
/**
|
|
|
* 获取EHS开项跟踪详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:keymaintenance:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
|
|
{
|
|
@@ -83,7 +83,7 @@ public class TMtEhsopenitemController extends BaseController
|
|
|
/**
|
|
|
* 新增EHS开项跟踪
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:keymaintenance:add')")
|
|
|
@Log(title = "EHS开项跟踪", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody TMtEhsopenitem tMtEhsopenitem)
|
|
@@ -94,7 +94,7 @@ public class TMtEhsopenitemController extends BaseController
|
|
|
/**
|
|
|
* 修改EHS开项跟踪
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:keymaintenance:edit')")
|
|
|
@Log(title = "EHS开项跟踪", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody TMtEhsopenitem tMtEhsopenitem)
|
|
@@ -105,7 +105,7 @@ public class TMtEhsopenitemController extends BaseController
|
|
|
/**
|
|
|
* 删除EHS开项跟踪
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:keymaintenance:remove')")
|
|
|
@Log(title = "EHS开项跟踪", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids)
|