添加资产授权展示表
parent
d9330e77d8
commit
d665256573
|
@ -99,6 +99,16 @@
|
|||
<version>3.6.3</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.muyu</groupId>
|
||||
<artifactId>cloud-common-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.muyu</groupId>
|
||||
<artifactId>cloud-common-datasource</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.muyu</groupId>-->
|
||||
<!-- <artifactId>cloud-common-rabbit</artifactId>-->
|
||||
|
|
|
@ -7,6 +7,7 @@ import com.muyu.common.core.domain.Result;
|
|||
import com.muyu.domain.Structure;
|
||||
import com.muyu.domain.TableInfo;
|
||||
import com.muyu.domain.rep.TableInfoResp;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
|
@ -22,6 +23,14 @@ public class TableInfoController {
|
|||
private TableInfoService tableInfoService;
|
||||
@Autowired
|
||||
private StructureService structureService;
|
||||
@Autowired
|
||||
private HttpServletRequest request;
|
||||
|
||||
|
||||
|
||||
// @Autowired
|
||||
// private SysUserService sysUserService;
|
||||
|
||||
|
||||
// @GetMapping("/findTableInfo")
|
||||
// public Result<List<TableInfoTreeRep>> findTableInfo() {
|
||||
|
@ -57,7 +66,6 @@ public class TableInfoController {
|
|||
}
|
||||
|
||||
|
||||
|
||||
@NotNull
|
||||
private static List<TableInfoResp> getChildren(TableInfo tableInfo, List<TableInfo> list) {
|
||||
return list.stream().filter(tableInfo1 -> tableInfo1.getParentId().equals(tableInfo.getId())).map(
|
||||
|
@ -73,6 +81,25 @@ public class TableInfoController {
|
|||
}
|
||||
|
||||
|
||||
@GetMapping("/findTableInfoListAccredit")
|
||||
public Result<List<TableInfo>> findTsbleInfoListAccredit() {
|
||||
// List<TableInfo> list = tableInfoService.;
|
||||
//
|
||||
// LoginUser loginUser = SecurityUtils.getLoginUser();
|
||||
// SysUser sysUser = loginUser.getSysUser();
|
||||
// Long userId = sysUser.getUserId();
|
||||
// Long deptId = sysUser.getDeptId();
|
||||
|
||||
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue