测试线程静态前提交
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using SqlSugar;
|
||||
using UFIDA.U8.Framework.Api.ControlObject.Models;
|
||||
using UFIDA.U8.Framework.Api.Common.Enum;
|
||||
|
||||
namespace UFIDA.U8.Framework.Api.Common.Entity
|
||||
{
|
||||
@@ -8,7 +8,7 @@ namespace UFIDA.U8.Framework.Api.Common.Entity
|
||||
/// </summary>
|
||||
[SugarTable("SysU8AccountConfig", "系统U8账套对接参数配置表")]
|
||||
[SugarIndex("index_{table}_I", nameof(Id), OrderByType.Asc)]
|
||||
public class SysU8AccountConfig :ControlObject.Models.SysU8AccountConfig
|
||||
public class SysU8AccountConfig //:ControlObject.Models.SysU8AccountConfig
|
||||
{
|
||||
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "主键", ColumnName = "Id", IsNullable = false)]
|
||||
@@ -18,61 +18,61 @@ namespace UFIDA.U8.Framework.Api.Common.Entity
|
||||
/// 系统号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "系统号", Length = 100)]
|
||||
public override string cAccountNo { get; set; }
|
||||
public virtual string cAccountNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账套号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "账套号", Length = 100)]
|
||||
public override string cAcc_Id { get; set; }
|
||||
public virtual string cAcc_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账套名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "账套名称", Length = 255)]
|
||||
public override string cAcc_Name { get; set; }
|
||||
public virtual string cAcc_Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 账套数据源
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "账套数据源", Length = 255)]
|
||||
public override string cAcc_DataSource { get; set; }
|
||||
public virtual string cAcc_DataSource { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "用户ID", Length = 100)]
|
||||
public override string cUser_Id { get; set; }
|
||||
public virtual string cUser_Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "用户名", Length = 255)]
|
||||
public override string cUser_Name { get; set; }
|
||||
public virtual string cUser_Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "密码", Length = 255)]
|
||||
public override string cPassword { get; set; }
|
||||
public virtual string cPassword { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务器地址
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "服务器地址", Length = 255)]
|
||||
public override string cSrv { get; set; }
|
||||
public virtual string cSrv { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
public override StatusEnum Status { get; set; } = StatusEnum.Enable;
|
||||
public virtual StatusEnum Status { get; set; } = StatusEnum.Enable;
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "备注", Length = 255)]
|
||||
public override string Remark { get; set; }
|
||||
public virtual string Remark { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace UFIDA.U8.Framework.Api.Common.Entity
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 系统U8账套对接参数配置表
|
||||
/// </summary>
|
||||
[SugarTable("SysU8MTask", "U8生产制造任务")]
|
||||
public class SysU8MTask
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键", ColumnName = "Id", IsNullable = false)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// U8生产制造登录信息
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "U8生产制造登录信息", Length = 100)]
|
||||
public string U8MPool { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "任务时间")]
|
||||
public DateTime dDate { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace UFIDA.U8.Framework.Api.Common.Enum
|
||||
{
|
||||
/// <summary>
|
||||
/// 通用状态枚举
|
||||
/// </summary>
|
||||
[Description("通用状态枚举")]
|
||||
public enum StatusEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 启用
|
||||
/// </summary>
|
||||
[Description("启用")]
|
||||
Enable = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 停用
|
||||
/// </summary>
|
||||
[Description("停用")]
|
||||
Disable = 2,
|
||||
}
|
||||
}
|
||||
@@ -22,6 +22,7 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
@@ -41,40 +42,24 @@
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SqlSugar, Version=5.1.4.162, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SqlSugar.5.1.4.162\lib\SqlSugar.dll</HintPath>
|
||||
<Reference Include="SqlSugar, Version=5.1.4.166, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SqlSugar.5.1.4.166\lib\SqlSugar.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UFSoft.U8.U8M.DAC">
|
||||
<HintPath>D:\U8SOFT\U8M\UFSoft.U8.U8M.DAC.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Entity\SysU8AccountConfig.cs" />
|
||||
<Compile Include="Entity\SysU8MTask.cs" />
|
||||
<Compile Include="Enum\StatusEnum.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Unit\GM\GM.cs" />
|
||||
<Compile Include="Unit\GM\GMUtil.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\UFIDA.U8.Framework.Api.ControlObject\UFIDA.U8.Framework.Api.ControlObject.csproj">
|
||||
<Project>{22c84be9-1613-4e32-9e98-237e96fd3540}</Project>
|
||||
<Name>UFIDA.U8.Framework.Api.ControlObject</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Enum\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -3,5 +3,5 @@
|
||||
<package id="BouncyCastle.Cryptography" version="2.4.0" targetFramework="net48" />
|
||||
<package id="log4net" version="2.0.17" targetFramework="net48" />
|
||||
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net48" />
|
||||
<package id="SqlSugar" version="5.1.4.162" targetFramework="net48" />
|
||||
<package id="SqlSugar" version="5.1.4.166" targetFramework="net48" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user