文件上传功能添加,注意使用Path.Combine处理通用路径问题(windows||docker)
This commit is contained in:
1 parent
7817c5374c
commit
244b59a3fb
135 files changed
+16937
-75
No files matched your search
@@ -59,7 +59,7 @@ namespace CloudBuilder.Security.Service
|
||||
LocaleResultData data = new LocaleResultData();
|
||||
LocaleEntity[] list = null;
|
||||
|
||||
int count = 0;
|
||||
Int64 count = 0;
|
||||
|
||||
string sqlWhere = null;
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace CloudBuilder.Security.Service
|
||||
if (list != null && list.Length > 0)
|
||||
{
|
||||
sql = entity.GetSelectCountFrom(sqlWhere);
|
||||
count = Convert.ToInt32(repository.ExecuteScalar(sql));
|
||||
count = Convert.ToInt64(repository.ExecuteScalar(sql));
|
||||
|
||||
data.Datas = list.Select(x => new LocaleDisplayData(x)).ToArray();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user