添加资产授权展示表
parent
d9330e77d8
commit
d665256573
|
@ -99,6 +99,16 @@
|
||||||
<version>3.6.3</version>
|
<version>3.6.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.muyu</groupId>
|
||||||
|
<artifactId>cloud-common-security</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.muyu</groupId>
|
||||||
|
<artifactId>cloud-common-datasource</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- <dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <groupId>com.muyu</groupId>-->
|
<!-- <groupId>com.muyu</groupId>-->
|
||||||
<!-- <artifactId>cloud-common-rabbit</artifactId>-->
|
<!-- <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.Structure;
|
||||||
import com.muyu.domain.TableInfo;
|
import com.muyu.domain.TableInfo;
|
||||||
import com.muyu.domain.rep.TableInfoResp;
|
import com.muyu.domain.rep.TableInfoResp;
|
||||||
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
@ -22,6 +23,14 @@ public class TableInfoController {
|
||||||
private TableInfoService tableInfoService;
|
private TableInfoService tableInfoService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private StructureService structureService;
|
private StructureService structureService;
|
||||||
|
@Autowired
|
||||||
|
private HttpServletRequest request;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// @Autowired
|
||||||
|
// private SysUserService sysUserService;
|
||||||
|
|
||||||
|
|
||||||
// @GetMapping("/findTableInfo")
|
// @GetMapping("/findTableInfo")
|
||||||
// public Result<List<TableInfoTreeRep>> findTableInfo() {
|
// public Result<List<TableInfoTreeRep>> findTableInfo() {
|
||||||
|
@ -57,7 +66,6 @@ public class TableInfoController {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
private static List<TableInfoResp> getChildren(TableInfo tableInfo, List<TableInfo> list) {
|
private static List<TableInfoResp> getChildren(TableInfo tableInfo, List<TableInfo> list) {
|
||||||
return list.stream().filter(tableInfo1 -> tableInfo1.getParentId().equals(tableInfo.getId())).map(
|
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