|
@@ -83,7 +83,7 @@ public class TMtEhsopenitemController extends BaseController {
|
|
|
/**
|
|
|
* 新增EHS开项跟踪
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:meeting:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:edit')")
|
|
|
@Log(title = "EHS开项跟踪", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody TMtEhsopenitem tMtEhsopenitem) {
|
|
@@ -100,7 +100,7 @@ public class TMtEhsopenitemController extends BaseController {
|
|
|
/**
|
|
|
* 修改EHS开项跟踪
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:meeting:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:edit')")
|
|
|
@Log(title = "EHS开项跟踪", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody TMtEhsopenitem tMtEhsopenitem) {
|
|
@@ -116,7 +116,7 @@ public class TMtEhsopenitemController extends BaseController {
|
|
|
/**
|
|
|
* 删除EHS开项跟踪
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('plant:meeting:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('plant:ehsopenitem:edit')")
|
|
|
@Log(title = "EHS开项跟踪", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids) {
|