package org.springblade.flow.permission.controller;

import org.springblade.flow.permission.service.UserDept4FlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;

/**
 *  数据处理
 *
 * @author william
 * @date   2022-07-14 10:57:54
 */
@Api(tags = "")
@RequestMapping("/paas/userDept")
@RestController
public class UserDept4FlowController {
	@Autowired
	private UserDept4FlowService userDeptService;

//	@ApiOperation("列表")
//	@GetMapping("/list")
//	public R<PageRet<UserDept>> list() {
//		LambdaQueryWrapper<UserDept> wrapper = Wrappers.<UserDept>lambdaQuery();
//		wrapper.orderByDesc(UserDept::);
//		return R.success(getPageData(wrapper, userDeptService::page));
//	}
//
//	@ApiOperation("详情")
//	@GetMapping("/info")
//	public R<UserDept> info(Long id) {
//		UserDept userDept = userDeptService.getById(id);
//		return userDept != null ? R.success(userDept) : R.error("数据不存在");
//	}
}
