|
|
|
|
@ -10,7 +10,6 @@ import com.da.common.utils.poi.ExcelUtil;
|
|
|
|
|
import com.da.dangan.domain.DaUserCatalog;
|
|
|
|
|
import com.da.dangan.service.IDaUserCatalogService;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
@ -33,7 +32,7 @@ public class DaUserCatalogController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 查询用户目录关联列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:list')")
|
|
|
|
|
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:list')")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo list(DaUserCatalog daUserCatalog)
|
|
|
|
|
{
|
|
|
|
|
@ -45,7 +44,7 @@ public class DaUserCatalogController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 导出用户目录关联列表
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:export')")
|
|
|
|
|
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:export')")
|
|
|
|
|
@Log(title = "用户目录关联", businessType = BusinessType.EXPORT)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
public void export(HttpServletResponse response, DaUserCatalog daUserCatalog)
|
|
|
|
|
@ -58,7 +57,7 @@ public class DaUserCatalogController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 获取用户目录关联详细信息
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:query')")
|
|
|
|
|
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:query')")
|
|
|
|
|
@GetMapping(value = "/{userId}")
|
|
|
|
|
public AjaxResult getInfo(@PathVariable("userId") Long userId)
|
|
|
|
|
{
|
|
|
|
|
@ -68,7 +67,7 @@ public class DaUserCatalogController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 新增用户目录关联
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:add')")
|
|
|
|
|
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:add')")
|
|
|
|
|
@Log(title = "用户目录关联", businessType = BusinessType.INSERT)
|
|
|
|
|
@PostMapping
|
|
|
|
|
public AjaxResult add(@RequestBody DaUserCatalog daUserCatalog)
|
|
|
|
|
@ -119,7 +118,7 @@ public class DaUserCatalogController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 删除用户目录关联
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:remove')")
|
|
|
|
|
//@PreAuthorize("@ss.hasPermi('dangan:userMuRelation:remove')")
|
|
|
|
|
@Log(title = "用户目录关联", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("/{userIds}")
|
|
|
|
|
public AjaxResult remove(@PathVariable Long[] userIds)
|
|
|
|
|
|