|
@@ -29,7 +29,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
* @date 2023-06-07
|
|
|
*/
|
|
|
@RestController
|
|
|
-@RequestMapping("/system/mgr")
|
|
|
+@RequestMapping("/branch/meeting")
|
|
|
public class TBranchMeetingMgrController extends BaseController
|
|
|
{
|
|
|
@Autowired
|
|
@@ -38,7 +38,7 @@ public class TBranchMeetingMgrController extends BaseController
|
|
|
/**
|
|
|
* 查询支部会议管理列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:mgr:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('branch:meeting:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(TBranchMeetingMgr tBranchMeetingMgr)
|
|
|
{
|
|
@@ -50,7 +50,7 @@ public class TBranchMeetingMgrController extends BaseController
|
|
|
/**
|
|
|
* 导出支部会议管理列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:mgr:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('branch:meeting:export')")
|
|
|
@Log(title = "支部会议管理", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, TBranchMeetingMgr tBranchMeetingMgr)
|
|
@@ -63,7 +63,7 @@ public class TBranchMeetingMgrController extends BaseController
|
|
|
/**
|
|
|
* 获取支部会议管理详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:mgr:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('branch:meeting:query')")
|
|
|
@GetMapping(value = "/{meetingId}")
|
|
|
public AjaxResult getInfo(@PathVariable("meetingId") Long meetingId)
|
|
|
{
|
|
@@ -73,7 +73,7 @@ public class TBranchMeetingMgrController extends BaseController
|
|
|
/**
|
|
|
* 新增支部会议管理
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:mgr:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('branch:meeting:add')")
|
|
|
@Log(title = "支部会议管理", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody TBranchMeetingMgr tBranchMeetingMgr)
|
|
@@ -84,7 +84,7 @@ public class TBranchMeetingMgrController extends BaseController
|
|
|
/**
|
|
|
* 修改支部会议管理
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:mgr:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('branch:meeting:edit')")
|
|
|
@Log(title = "支部会议管理", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody TBranchMeetingMgr tBranchMeetingMgr)
|
|
@@ -95,7 +95,7 @@ public class TBranchMeetingMgrController extends BaseController
|
|
|
/**
|
|
|
* 删除支部会议管理
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:mgr:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('branch:meeting:remove')")
|
|
|
@Log(title = "支部会议管理", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{meetingIds}")
|
|
|
public AjaxResult remove(@PathVariable Long[] meetingIds)
|