代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -2,7 +2,6 @@ namespace BLL
|
||||
{
|
||||
using MiniExcelLibs;
|
||||
using Model;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using Quartz;
|
||||
using RestSharp;
|
||||
using System;
|
||||
@@ -1212,7 +1211,7 @@ namespace BLL
|
||||
p.SetValue(entity, Convert.ToInt32(row[p.Name]), null);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
p.SetValue(entity, row[p.Name], null);
|
||||
}
|
||||
list.Add(entity);
|
||||
@@ -1364,7 +1363,7 @@ namespace BLL
|
||||
/// <param name="pageTotal">总数</param>
|
||||
/// <param name="pagesize">每页条数</param>
|
||||
/// <returns></returns>
|
||||
public static int GetEndPageNumber(int pageTotal,int pagesize )
|
||||
public static int GetEndPageNumber(int pageTotal, int pagesize)
|
||||
{
|
||||
double aa = (pageTotal + pagesize - 1) / pagesize; //使用数据条数/每页显示条数,来获得最大页数,是double类型
|
||||
|
||||
@@ -1451,7 +1450,7 @@ namespace BLL
|
||||
return response.Content;
|
||||
}
|
||||
|
||||
public static string RequestPost(string Baseurl, Dictionary<string ,string> Token, string JsonBody)
|
||||
public static string RequestPost(string Baseurl, Dictionary<string, string> Token, string JsonBody)
|
||||
{
|
||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
||||
|
||||
@@ -1461,7 +1460,7 @@ namespace BLL
|
||||
foreach (var item in Token)
|
||||
{
|
||||
request.AddHeader(item.Key, item.Value);
|
||||
}
|
||||
}
|
||||
request.AddHeader("ClientId", SysConstSetService.ClientId);
|
||||
request.AddHeader("OperationCode", Baseurl.Substring(Baseurl.LastIndexOf("/", StringComparison.Ordinal) + 1));
|
||||
if (!string.IsNullOrEmpty(JsonBody))
|
||||
|
||||
Reference in New Issue
Block a user