bug处理

This commit is contained in:
2024-04-23 10:16:16 +08:00
parent c8e2f1eafd
commit 579f2d3a39
197 changed files with 2509 additions and 1363 deletions

View File

@@ -1,3 +1,7 @@
/////////////////////////////////////////////////////////////////////////////////
// 宁波拓通e智造平台 ToTong Next Builder //
// https://git.tuotong-tech.com/tnb/tnb.server //
/////////////////////////////////////////////////////////////////////////////////
using JNPF.Common.Contracts;

View File

@@ -5,7 +5,7 @@ namespace JNPF.Common.Models
/// <summary>
/// 附件模型
/// 版 本V3.3.3
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 作 者JNPF开发平台组.
/// </summary>
[SuppressSniffer]

View File

@@ -6,7 +6,7 @@ namespace JNPF.Common.Models;
/// <summary>
/// 文件分片模型
/// 版 本V3.3.3
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 作 者JNPF开发平台组.
/// </summary>
[SuppressSniffer]

View File

@@ -6,6 +6,8 @@ namespace JNPF.Common.Models.NPOI;
/// <summary>
/// Excel导出列名
/// 版 本V3.0.0
/// 版 权引迈信息技术有限公司https://www.jnpfsoft.com
/// 作 者JNPF开发平台组
/// 日 期2017.03.09.
/// </summary>
[SuppressSniffer]

View File

@@ -6,6 +6,8 @@ namespace JNPF.Common.Models.NPOI;
/// <summary>
/// Excel导出配置
/// 版 本V3.0.0
/// 版 权引迈信息技术有限公司https://www.jnpfsoft.com
/// 作 者JNPF开发平台组
/// 日 期2017.03.09.
/// </summary>
[SuppressSniffer]

View File

@@ -5,6 +5,8 @@ namespace JNPF.Common.Models.NPOI;
/// <summary>
/// Excel导出模板
/// 版 本V3.0.0
/// 版 权引迈信息技术有限公司https://www.jnpfsoft.com
/// 作 者JNPF开发平台组
/// 日 期2017.03.09.
/// </summary>
[SuppressSniffer]

View File

@@ -5,6 +5,8 @@ namespace JNPF.Common.Models.User
/// <summary>
/// 登录者信息
/// 版 本V3.2.0
/// 版 权引迈信息技术有限公司https://www.jnpfsoft.com
/// 作 者JNPF开发平台组.
/// </summary>
[SuppressSniffer]
public class UserInfoModel

View File

@@ -291,7 +291,7 @@ public static class CodeGenHelper
result.Add(label, "系统自动生成");
break;
case JnpfKeyConst.COMSELECT:
result.Add(label, multiple ? "例:卡奥斯信息/产品部,卡奥斯信息/技术部" : "例:卡奥斯信息/技术部");
result.Add(label, multiple ? "例:引迈信息/产品部,引迈信息/技术部" : "例:引迈信息/技术部");
break;
case JnpfKeyConst.DEPSELECT:
result.Add(label, multiple ? "例:产品部/部门编码,技术部/部门编码" : "例:技术部/部门编码");
@@ -303,7 +303,7 @@ public static class CodeGenHelper
result.Add(label, multiple ? "例:张三/账号,李四/账号" : "例:张三/账号");
break;
case JnpfKeyConst.USERSSELECT:
result.Add(label, multiple ? "例:卡奥斯信息/产品部,产品部/部门编码,技术经理/岗位编码,研发人员/角色编码,A分组/分组编码,张三/账号" : "例:李四/账号");
result.Add(label, multiple ? "例:引迈信息/产品部,产品部/部门编码,技术经理/岗位编码,研发人员/角色编码,A分组/分组编码,张三/账号" : "例:李四/账号");
break;
case JnpfKeyConst.ROLESELECT:
result.Add(label, multiple ? "例:研发人员/角色编码,测试人员/角色编码" : "例:研发人员/角色编码");

View File

@@ -16,7 +16,7 @@ namespace JNPF.Common.Security;
/// <summary>
/// Excel导出操作类
/// 版 本V3.2.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2017.03.09.
/// </summary>
[SuppressSniffer]
@@ -226,16 +226,16 @@ public class ExcelExportHelper<T>
SummaryInformation si = PropertySetFactory.CreateSummaryInformation();
// 填加xls文件作者信息
si.Author = "卡奥斯数字科技有限公司";
si.Author = "拓通智联科技有限公司";
// 填加xls文件创建程序信息
si.ApplicationName = "卡奥斯数字科技有限公司";
si.ApplicationName = "拓通智联科技有限公司";
// 填加xls文件最后保存者信息
si.LastAuthor = "卡奥斯数字科技有限公司";
si.LastAuthor = "拓通智联科技有限公司";
// 填加xls文件作者信息
si.Comments = "卡奥斯数字科技有限公司";
si.Comments = "拓通智联科技有限公司";
// 填加xls文件标题信息
si.Title = "标题信息";
@@ -487,16 +487,16 @@ public class ExcelExportHelper<T>
SummaryInformation si = PropertySetFactory.CreateSummaryInformation();
// 填加xls文件作者信息
si.Author = "卡奥斯数字科技有限公司";
si.Author = "拓通智联科技有限公司";
// 填加xls文件创建程序信息
si.ApplicationName = "卡奥斯数字科技有限公司";
si.ApplicationName = "拓通智联科技有限公司";
// 填加xls文件最后保存者信息
si.LastAuthor = "卡奥斯数字科技有限公司";
si.LastAuthor = "拓通智联科技有限公司";
// 填加xls文件作者信息
si.Comments = "卡奥斯数字科技有限公司";
si.Comments = "拓通智联科技有限公司";
// 填加xls文件标题信息
si.Title = "标题信息";
@@ -762,16 +762,16 @@ public class ExcelExportHelper<T>
SummaryInformation si = PropertySetFactory.CreateSummaryInformation();
// 填加xls文件作者信息
si.Author = "卡奥斯数字科技有限公司";
si.Author = "拓通智联科技有限公司";
// 填加xls文件创建程序信息
si.ApplicationName = "卡奥斯数字科技有限公司";
si.ApplicationName = "拓通智联科技有限公司";
// 填加xls文件最后保存者信息
si.LastAuthor = "卡奥斯数字科技有限公司";
si.LastAuthor = "拓通智联科技有限公司";
// 填加xls文件作者信息
si.Comments = "卡奥斯数字科技有限公司";
si.Comments = "拓通智联科技有限公司";
// 填加xls文件标题信息
si.Title = "标题信息";

View File

@@ -9,7 +9,7 @@ namespace JNPF.Common.Helper
/// <summary>
/// Excel导入操作类
/// 版 本V3.2.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2017.03.12.
/// </summary>
[SuppressSniffer]

View File

@@ -12,7 +12,7 @@ namespace JNPF.Common.Security;
/// <summary>
/// FileHelper
/// 版 本V3.2.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 作 者JNPF开发平台组.
/// </summary>
[SuppressSniffer]

View File

@@ -7,7 +7,7 @@ namespace JNPF.Common.Security;
/// <summary>
/// JsonHelper
/// 版 本V3.4.2
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 作 者JNPF开发平台组.
/// </summary>
public static class JsonHelper

View File

@@ -9,7 +9,7 @@ namespace JNPF.Common.Security;
/// <summary>
/// 网络操作
/// 版 本V3.0.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 作 者JNPF开发平台组.
/// </summary>
[SuppressSniffer]

View File

@@ -6,7 +6,7 @@ namespace JNPF.Common.Security;
/// <summary>
/// 汉字转换拼音
/// 版 本V3.2.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 作 者JNPF开发平台组.
/// </summary>
[SuppressSniffer]

View File

@@ -7,7 +7,7 @@ namespace JNPF.Common.Security;
/// <summary>
/// 树形结构查询
/// 版 本V3.2.0
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 作 者JNPF开发平台组.
/// </summary>
[SuppressSniffer]

View File

@@ -1,4 +1,8 @@

/////////////////////////////////////////////////////////////////////////////////
// 宁波拓通e智造平台 ToTong Next Builder //
// https://git.tuotong-tech.com/tnb/tnb.server //
/////////////////////////////////////////////////////////////////////////////////
using Newtonsoft.Json.Linq;
namespace Mapster;

View File

@@ -100,6 +100,7 @@ namespace Tnb.Common.Utils
}
public static async Task<string> GetRequestAsync(string url, Dictionary<string, string> pars = null)
{
Log.Information($"开始请求 {url} 请求参数: {JsonConvert.SerializeObject(pars)}");
HttpClient Client = new HttpClient();
var reqUri = url;
if (pars?.Count > 0)