修改minion文件上传 查询文件夹权限排序显示不对问题

master
孙亮 11 months ago
parent ba64483c43
commit 72d8dd4461

@ -1230,7 +1230,7 @@ namespace IBKLinker_Minio.Controller.MinioController
} }
if (!string.IsNullOrEmpty(EmpowerType)) if (!string.IsNullOrEmpty(EmpowerType))
{ {
if (EmpowerType == "打印") if (EmpowerType == "下载/打印")
{ {
sql += "and b.PRINT_FLAG=1"; sql += "and b.PRINT_FLAG=1";
} }
@ -1264,7 +1264,7 @@ namespace IBKLinker_Minio.Controller.MinioController
} }
} }
request.data = db.Query<retqustUser>("select b.*d.FILE_NAME,d.FILE_PATH from minio_user a left join minio_role_permission b on a.role_id=b.id left join minio_authority c on b.limits_authority_id=c.limits_authority_id left join minio_storage_path d on c.file_id=d.pk where 1=1 " + sql + " ORDER BY a.creator_time").ToList(); request.data = db.Query<retqustUser>("select b.*d.FILE_NAME,d.FILE_PATH from minio_user a left join minio_role_permission b on a.role_id=b.id left join minio_authority c on b.limits_authority_id=c.limits_authority_id left join minio_storage_path d on c.file_id=d.pk where 1=1 " + sql + " ORDER BY d.PK").ToList();
request.code = "0"; request.code = "0";
} }
} }

@ -43,9 +43,9 @@ namespace IBKLinker_Minio.Entity.MinioController
/// <summary> /// <summary>
///打印 ///下载/打印
/// </summary> /// </summary>
[Persistent("PRINT_FLAG"), DisplayName("打印")] [Persistent("PRINT_FLAG"), DisplayName("下载/打印")]
public int PrintFlag { get; set; } public int PrintFlag { get; set; }

Loading…
Cancel
Save