文件上传功能添加,注意使用Path.Combine处理通用路径问题(windows||docker)
This commit is contained in:
1 parent
7817c5374c
commit
244b59a3fb
135 files changed
+16937
-75
No files matched your search
@@ -39,7 +39,7 @@ namespace CloudBuilder.Security.Service
|
||||
SecurityGeneratorNumberResultData data = new SecurityGeneratorNumberResultData();
|
||||
SecurityGeneratorNumberEntity[] list = null;
|
||||
|
||||
int count = 0;
|
||||
Int64 count = 0;
|
||||
|
||||
string sqlWhere = null;
|
||||
|
||||
@@ -65,7 +65,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.Limit = criteria.limit;
|
||||
|
||||
Reference in new issue
Block a user