|
|
@ -318,7 +318,7 @@ namespace IBKLinker_Minio.Controller.MinioController
|
|
|
|
{
|
|
|
|
{
|
|
|
|
sql += " and a.STATE =" + minioUser.State + "";
|
|
|
|
sql += " and a.STATE =" + minioUser.State + "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (minioUser.RoleId != "")
|
|
|
|
if (!string.IsNullOrEmpty(minioUser.RoleId))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
sql += " and a.ROLE_ID ='" + minioUser.RoleId + "'";
|
|
|
|
sql += " and a.ROLE_ID ='" + minioUser.RoleId + "'";
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -514,6 +514,7 @@ namespace IBKLinker_Minio.Controller.MinioController
|
|
|
|
date.FileLevel = item.FileLevel;//文件层级
|
|
|
|
date.FileLevel = item.FileLevel;//文件层级
|
|
|
|
date.FileName = item.FileName;//文件名称
|
|
|
|
date.FileName = item.FileName;//文件名称
|
|
|
|
date.DownloadNum = item.DownloadNum;//文件下载次数
|
|
|
|
date.DownloadNum = item.DownloadNum;//文件下载次数
|
|
|
|
|
|
|
|
date.Version = item.Version;//文件版本
|
|
|
|
date.CreatorUser = item.CreatorUser;//创建者
|
|
|
|
date.CreatorUser = item.CreatorUser;//创建者
|
|
|
|
date.CreatorTime = item.CreatorTime;//创建时间
|
|
|
|
date.CreatorTime = item.CreatorTime;//创建时间
|
|
|
|
date.AssociationFilePk = item.AssociationFilePk;//关联文件PK
|
|
|
|
date.AssociationFilePk = item.AssociationFilePk;//关联文件PK
|
|
|
@ -522,6 +523,7 @@ namespace IBKLinker_Minio.Controller.MinioController
|
|
|
|
date.AssociationFileName = item.AssociationFileName;//关联文件名称
|
|
|
|
date.AssociationFileName = item.AssociationFileName;//关联文件名称
|
|
|
|
date.AssociationFileLevel = item.AssociationFileLevel;//关联文件层级
|
|
|
|
date.AssociationFileLevel = item.AssociationFileLevel;//关联文件层级
|
|
|
|
date.AssociationDownloadNum = item.AssociationDownloadNum;//关联文件下载次数
|
|
|
|
date.AssociationDownloadNum = item.AssociationDownloadNum;//关联文件下载次数
|
|
|
|
|
|
|
|
date.AssociationVersion = item.AssociationVersion;//关联文件版本
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else //如果不等与的话将关联文件与被关联文件信息调换位置返回前端
|
|
|
|
else //如果不等与的话将关联文件与被关联文件信息调换位置返回前端
|
|
|
@ -534,6 +536,7 @@ namespace IBKLinker_Minio.Controller.MinioController
|
|
|
|
date.FileLevel = item.AssociationFileLevel;//文件层级
|
|
|
|
date.FileLevel = item.AssociationFileLevel;//文件层级
|
|
|
|
date.FileName = item.AssociationFileName;//文件名称
|
|
|
|
date.FileName = item.AssociationFileName;//文件名称
|
|
|
|
date.DownloadNum = item.AssociationDownloadNum;//文件下载次数
|
|
|
|
date.DownloadNum = item.AssociationDownloadNum;//文件下载次数
|
|
|
|
|
|
|
|
date.Version = item.AssociationVersion;//文件版本
|
|
|
|
date.CreatorUser = item.CreatorUser;//创建者
|
|
|
|
date.CreatorUser = item.CreatorUser;//创建者
|
|
|
|
date.CreatorTime = item.CreatorTime;//创建时间
|
|
|
|
date.CreatorTime = item.CreatorTime;//创建时间
|
|
|
|
date.AssociationFilePk = item.FilePk;//关联文件PK
|
|
|
|
date.AssociationFilePk = item.FilePk;//关联文件PK
|
|
|
@ -542,6 +545,7 @@ namespace IBKLinker_Minio.Controller.MinioController
|
|
|
|
date.AssociationFileName = item.FileName;//关联文件名称
|
|
|
|
date.AssociationFileName = item.FileName;//关联文件名称
|
|
|
|
date.AssociationFileLevel = item.FileLevel;//关联文件层级
|
|
|
|
date.AssociationFileLevel = item.FileLevel;//关联文件层级
|
|
|
|
date.AssociationDownloadNum = item.DownloadNum;//关联文件下载次数
|
|
|
|
date.AssociationDownloadNum = item.DownloadNum;//关联文件下载次数
|
|
|
|
|
|
|
|
date.AssociationVersion = item.Version;//关联文件版本
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
result.Add(date);//添加数据到list
|
|
|
|
result.Add(date);//添加数据到list
|
|
|
@ -1151,7 +1155,7 @@ namespace IBKLinker_Minio.Controller.MinioController
|
|
|
|
sql += " and UPK =" + int.Parse(PK);
|
|
|
|
sql += " and UPK =" + int.Parse(PK);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
date = db.Query<MinioStoragePath>("select * from MINIO_STORAGE_PATH where 1=1 " + sql + "and CLEAR_FLAG='0' ORDER BY PK").ToList();
|
|
|
|
date = db.Query<MinioStoragePath>("select * from MINIO_STORAGE_PATH where 1=1 " + sql + "and CLEAR_FLAG='0' ORDER BY CREATOR_TIME desc").ToList();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return date;
|
|
|
|
return date;
|
|
|
@ -1539,5 +1543,7 @@ namespace IBKLinker_Minio.Controller.MinioController
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|