1.修复多账套对接时报工切换账套不生效(严重bug)
2.切换底层逻辑,增加外部增加数据源的接口 3.增加缓存,减少频繁登录导致可能存在的突发数据库连接异常
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
using SqlSugar;
|
||||
using UFIDA.U8.Framework.Api.ControlObject.Models;
|
||||
|
||||
namespace UFIDA.U8.Framework.Api.Common.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 系统U8账套对接参数配置表
|
||||
/// </summary>
|
||||
[SugarTable("SysU8AccountConfig", "系统U8账套对接参数配置表")]
|
||||
[SugarIndex("index_{table}_I", nameof(Id), OrderByType.Asc)]
|
||||
public class SysU8AccountConfig :ControlObject.Models.SysU8AccountConfig
|
||||
{
|
||||
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "主键", ColumnName = "Id", IsNullable = false)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 系统号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "系统号", Length = 100)]
|
||||
public override string cAccountNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账套号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "账套号", Length = 100)]
|
||||
public override string cAcc_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账套名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "账套名称", Length = 255)]
|
||||
public override string cAcc_Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账套数据源
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "账套数据源", Length = 255)]
|
||||
public override string cAcc_DataSource { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "用户ID", Length = 100)]
|
||||
public override string cUser_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "用户名", Length = 255)]
|
||||
public override string cUser_Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "密码", Length = 255)]
|
||||
public override string cPassword { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务器地址
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "服务器地址", Length = 255)]
|
||||
public override string cSrv { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
public override StatusEnum Status { get; set; } = StatusEnum.Enable;
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "备注", Length = 255)]
|
||||
public override string Remark { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user