Commit f6a63ba2 authored by hongguangwu's avatar hongguangwu

档案相关权限-优化

parent f7c92003
......@@ -41,6 +41,9 @@ public class MenuUtil {
// 菜单id
String menuId = entity.getMId();
if (Common.isEmpty(menuId)) {
menuId = entity.getMenuInfo();
}
if (Common.isNotNull(menuId)) {
String linkId = user.getId();
int linkType = 1; // 用户
......
......@@ -64,13 +64,21 @@ public class BaseEntity implements Serializable {
@TableField(fill = FieldFill.INSERT_UPDATE)
@ExcelIgnore
private LocalDateTime updateTime;
/**
* 菜单ID 获取查询权限使用
*/
@ExcelIgnore
@TableField(exist = false)
@ExcelIgnore
private String mId;
/**
* 菜单ID 获取导出权限使用
*/
@TableField(exist = false)
@ExcelIgnore
private String menuInfo;
/**
* 权限sql
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment