liusheng
2025-01-02 b6dd47b05107fc36d8ff4f7f29a4446521f95503
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java
@@ -35,7 +35,7 @@
//     * 查询人员和分组组别关联列表
//     */
//    @ApiOperation("查询人员和分组组别关联列表")
//    @PreAuthorize("@ss.hasPermi('system:group:list')")
//    // @PreAuthorize("@ss.hasPermi('system:group:list')")
//    @GetMapping("/list")
//    public TableDataInfo list(ServiceExternalpersonGroup serviceExternalpersonGroup) {
//        startPage();
@@ -61,7 +61,7 @@
     * 导出人员和分组组别关联列表
     */
    @ApiOperation("导出人员和分组组别关联列表")
    @PreAuthorize("@ss.hasPermi('system:group:export')")
    // @PreAuthorize("@ss.hasPermi('system:group:export')")
    @Log(title = "人员和分组组别关联", businessType = BusinessType.EXPORT)
    @GetMapping("/export")
    public AjaxResult export(ServiceExternalpersonGroup serviceExternalpersonGroup) {
@@ -74,7 +74,7 @@
     * 获取人员和分组组别关联详细信息
     */
    @ApiOperation("获取人员和分组组别关联详细信息")
    @PreAuthorize("@ss.hasPermi('system:group:query')")
    // @PreAuthorize("@ss.hasPermi('system:group:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return AjaxResult.success(serviceExternalpersonGroupService.getById(id));
@@ -84,19 +84,20 @@
     * 新增人员和分组组别关联
     */
    @ApiOperation("新增人员和分组组别关联")
    @PreAuthorize("@ss.hasPermi('system:group:add')")
    // @PreAuthorize("@ss.hasPermi('system:group:add')")
    @Log(title = "人员和分组组别关联", businessType = BusinessType.INSERT)
    @PostMapping
    @PostMapping("/add")
    @RepeatSubmit
    public AjaxResult add(@RequestBody ServiceExternalpersonGroup serviceExternalpersonGroup) {
        return toAjax(serviceExternalpersonGroupService.save(serviceExternalpersonGroup));
        boolean save = serviceExternalpersonGroupService.save(serviceExternalpersonGroup);
        return AjaxResult.success(serviceExternalpersonGroup);
    }
    /**
     * 修改人员和分组组别关联
     */
    @ApiOperation("修改人员和分组组别关联")
    @PreAuthorize("@ss.hasPermi('system:group:edit')")
    // @PreAuthorize("@ss.hasPermi('system:group:edit')")
    @Log(title = "人员和分组组别关联", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    @RepeatSubmit
@@ -108,7 +109,7 @@
     * 删除人员和分组组别关联
     */
    @ApiOperation("删除人员和分组组别关联")
    @PreAuthorize("@ss.hasPermi('system:group:remove')")
    // @PreAuthorize("@ss.hasPermi('system:group:remove')")
    @Log(title = "人员和分组组别关联", businessType = BusinessType.DELETE)
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {