初始化项目

This commit is contained in:
2025-11-26 17:42:45 +08:00
commit 65ecc68767
2513 changed files with 1313954 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
public class BehindPast
{
public string OutBoxCode { get; set; }
public string ShippingCode { get; set; }
public string Pwd { get; set; }
public string MO { get; set; }
public string Loader { get; set; }
public int sqlid { get; set; }
}
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Runtime.CompilerServices.RuntimeHelpers;
namespace Models.ModelGoods
{
public class TBL_4_26_TestLog : ICloneable
{
public int ID { get; set; }
public int UserID { get; set; }
public int ServiceID { get; set; }
public string AppName { get; set; }
public string TestPlan { get; set; }
public string DUT_SN { get; set; }
public DateTime StartTime { get; set; }
public double UsedTime { get; set; }
public int TestResult { get; set; }
public string ErrCode { get; set; }
public string FailSteps { get; set; }
public int ProductionLineID { get; set; }
public int OrderID { get; set; }
public string FailMsg { get; set; }
public string ShippingCode { get; set; }
public string ShippingDateTime { get; set; }
public string ProjectID { get; set; }
public string Amount { get; set; }
public object Clone()
{
return this.Clone();
}
public TBL_4_26_TestLog Clones()
{
return (TBL_4_26_TestLog)this.Clone();
}
}
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
public class TBL_UTS_Manage_UserAuth_Operation
{
public int ID { get; set; }
public int UserID { get; set; }
public int DatabaseID { get; set; }
public string DatabaseName { get; set; }
public string FullAccess { get; set; }
public string ReadWriteAccess { get; set; }
public string ReadOnlyAccess { get; set; }
public string ReadProject { get; set; }
public string ManagerAccess { get; set; }
}
}

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
public class jsonapi
{
public string ShippingCode { get; set; }
public string OutBoxCode { get; set;}
public List<ColorBarPair> CCodeBCodeList { get; set;}
public string Message { get; set; }
public bool Status { get; set; }
public int ProjectID { get; set; }
public string Operator { get; set; }
public DateTime ShippingDateTime { get; set; }
public string ProjectName { get; set; }
}
public class ColorBarPair
{
public string ColorBox { get; set; }
public string BarCode { get; set; }
}
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
public class uts_bindhistoryinfo_log : ICloneable
{
public int ID { get; set; }
public int importinfoID { get; set; }
public DateTime operateTime { get; set; }
public int operateType { get; set; }
public string OutBoxCode { get; set; }
public string Barcode { get; set; }
public string ColorBox_BarCode { get; set; }
public string Remark { get; set; }
public string ShippingCode { get; set; }
public int Result { get; set; }
public int ProjectID { get; set; }
public string ShippingOperator { get; set; }
public string ProjectName { get; set; }
public object Clone()
{
return this.Clone();
}
public uts_bindhistoryinfo_log Clones()
{
return (uts_bindhistoryinfo_log)this.Clone();
}
}
}

View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
public class uts_importinfo_log : ICloneable
{
public int ID { get; set; }
public int ProjectID { get; set; }
public string Dbname { get; set; }
public string Operationtpye { get; set; }
public DateTime ImportDateTime { get; set; }
public string PartData { get; set; }
public int Result { get; set; }
public string ReturnResult { get; set; }
public string Ip { get; set; }
public string Address { get; set; }
public float Runtime { get; set; }
public string ShippingOperator { get; set; }
public object Clone()
{
return this.Clone();
}
public uts_importinfo_log Clones()
{
return (uts_importinfo_log)this.Clone();
}
}
}

View File

@@ -0,0 +1,75 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
public class uts_johao_tbl_importinfo : ICloneable
{
public int ID { get; set; }
public int ProjectID { get; set; }
public string Barcode { get; set; }
public DateTime ImportDateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string ColorBox_BarCode { get; set; }
public string OutBoxCode { get; set; }
public string MacCode { get; set; }
public string UnitWeigth { get; set; }
public string LABEL_PRINT_CNT { get; set; }
public DateTime S1 { get; set; }
public DateTime S2 { get; set; }
public DateTime S3 { get; set; }
public DateTime S4 { get; set; }
public DateTime S5 { get; set; }
public DateTime S6 { get; set; }
public DateTime S7 { get; set; }
public DateTime S8 { get; set; }
public DateTime S9 { get; set; }
public DateTime S10 { get; set; }
public DateTime S11 { get; set; }
public DateTime S12 { get; set; }
public int Result1 { get; set; }
public int Result2 { get; set; }
public int Result3 { get; set; }
public int Result4 { get; set; }
public int Result5 { get; set; }
public int Result6 { get; set; }
public int Result7 { get; set; }
public int Result8 { get; set; }
public int Result9 { get; set; }
public int Result10 { get; set; }
public int Result11 { get; set; }
public int Result12 { get; set; }
public string MO { get; set; }
public string ShippingCode { get; set; }
public DateTime ShippingDateTime { get; set; }
public string ShippingLoader { get; set; }
public string F305_BLE_MAC { get; set; }
public string F305_RF_ADD { get; set; }
public string F305_DeviceName { get; set; }
public string F305_DevicePSK { get; set; }
public string F305_4G_IMEI { get; set; }
public string F305_4G_SIM_ID { get; set; }
public object Clone()
{
return this.Clone();
}
public uts_johao_tbl_importinfo Clones()
{
return (uts_johao_tbl_importinfo)this.Clone();
}
}
}

View File

@@ -0,0 +1,64 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
public class uts_johao_tbl_shipping : ICloneable
{
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int ID { get; set; }
[SugarColumn(ColumnDataType = "varchar(50)", IndexGroupNameList = new[] { "Uid_key" })]
public string ShippingCode { get; set; }
[SugarColumn(ColumnDataType = "varchar(50)")]
public string Creator { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime CreateDateTime { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime StartDateTime { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime EndDateTime { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Loader { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public int Status { get; set; } = 0;
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string ShippingType { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Destination { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Voucher { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Remark { get; set; }
public int ProjectID { get; set; }
//数量
public int QTY { get; set; }
public string MO { get; set; }
public string Customer { get; set; }
public int BindedColorBoxQTY { get; set; }
public object Clone()
{
return this.Clone();
}
public uts_johao_tbl_shipping Clones()
{
return (uts_johao_tbl_shipping)this.Clone();
}
}
}

View File

@@ -0,0 +1,82 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.SqlTypes;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
#region
[Table("UTS_Zongqing_Tbl_Importinfo")]
public class uts_zongqing_tbl_importinfo : ICloneable
{
public int ID { get; set; }
public int ProjectID { get; set; }
public string Barcode { get; set; }
public DateTime ImportDateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string ColorBox_BarCode { get; set; }
public string OutBoxCode { get; set; }
public string MacCode { get; set; }
public string UnitWeigth { get; set; }
public string LABEL_PRINT_CNT { get; set; }
public DateTime S1 { get; set; }
public DateTime S2 { get; set; }
public DateTime S3 { get; set; }
public DateTime S4 { get; set; }
public DateTime S5 { get; set; }
public DateTime S6 { get; set; }
public DateTime S7 { get; set; }
public DateTime S8 { get; set; }
public DateTime S9 { get; set; }
public DateTime S10 { get; set; }
public DateTime S11 { get; set; }
public DateTime S12 { get; set; }
public int Result1 { get; set; }
public int Result2 { get; set; }
public int Result3 { get; set; }
public int Result4 { get; set; }
public int Result5 { get; set; }
public int Result6 { get; set; }
public int Result7 { get; set; }
public int Result8 { get; set; }
public int Result9 { get; set; }
public int Result10 { get; set; }
public int Result11 { get; set; }
public int Result12 { get; set; }
public string Zima_UID { get; set; }
public string Zima_BLE_MAC { get; set; }
public string ZIMA_BATT_SN { get; set; }
public string ZIMA_TUYA_MAC { get; set; }
public string MO { get; set; }
public string ShippingCode { get; set; }
public DateTime ShippingDateTime { get; set; }
//public string Amount { get; set; }
public string ShippingLoader { get; set; }
public object Clone()
{
return this.Clone();
}
public uts_zongqing_tbl_shipping Clones()
{
return (uts_zongqing_tbl_shipping)this.Clone();
}
#endregion
}
}

View File

@@ -0,0 +1,68 @@
using Models.ModelItems;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.SqlTypes;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelGoods
{
#region
[Table("uts_zongqing_tbl_shipping")]
public class uts_zongqing_tbl_shipping : ICloneable
{
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int ID { get; set; }
[SugarColumn(ColumnDataType = "varchar(50)", IndexGroupNameList = new[] { "Uid_key" })]
public string ShippingCode { get; set; }
[SugarColumn(ColumnDataType = "varchar(50)")]
public string Creator { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime CreateDateTime { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime StartDateTime { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime EndDateTime { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Loader { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public int Status { get; set; } = 0;
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string ShippingType { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Destination { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Voucher { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Remark { get; set; }
public int ProjectID { get; set; }
//数量
public int QTY { get; set; }
public string MO { get; set; }
public string Customer { get; set; }
public int BindedColorBoxQTY { get; set; }
public object Clone()
{
return this.Clone();
}
public uts_zongqing_tbl_shipping Clones()
{
return (uts_zongqing_tbl_shipping)this.Clone();
}
#endregion
}
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelItems
{
public class TBL_Project : ICloneable
{
public int ID { get; set; }
public int ProductTypeID { get; set; }
public string ProjectName { get; set; }
public string Description { get; set; }
public int UserID { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public DateTime EolDate { get; set; }
public string Remark { get; set; }
public string ImageName { get; set; }
public string PreviewImage { get; set; }
public float Price { get; set; }
public string Currency { get; set; }
public int IsValid{ get; set; }
public int SnType { get; set; }
public object Clone()
{
return this.Clone();
}
public TBL_UTS_Manage_User Clones()
{
return (TBL_UTS_Manage_User)this.Clone();
}
}
}

View File

@@ -0,0 +1,91 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.SqlTypes;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using System.Web.Security;
namespace Models.ModelItems
{
#region
[Table("TBL_UTS_Manage_User")]
public class TBL_UTS_Manage_User : ICloneable
{
//用户表 ID 密码 用户名 头像(有默认) 性别 年龄 说明 创建时间 到期时间 默认2个月后) 所属酒店 所属酒店组
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int ID { get; set; }
[SugarColumn(ColumnDataType = "varchar(50)", IndexGroupNameList = new[] { "Uid_key" })]
public string CompanyID { get; set; }
[SugarColumn(ColumnDataType = "varchar(50)")]
public string UserName { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Password { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true, DefaultValue = "default.png")]
public string Mobile { get; set; } = "defaultboy.png";
[SugarColumn(ColumnDataType = "varchar(255)")]
public string WeiXin { get; set; }
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string Email { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public int? IsValid { get; set; } = 0;
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public int IsAdmin { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime CreateTime { get; set; } = DateTime.Now;
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
//public DateTime? EndTime { get; set; } = DateTime.Now.AddMonths(2);
public string BarCode { get; set; }
public object Clone()
{
return this.Clone();
}
public TBL_UTS_Manage_User Clones()
{
return (TBL_UTS_Manage_User)this.Clone();
}
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string SetBarCode { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public DateTime UpdateTime { get; set; }
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
public int? AccountBill { get; set; } = 0;
[SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
public string PlaintextPwd{ get; set; }
/// <summary>
/// 计算密码 Hash值
/// </summary>
/// <param name="password"></param>
/// <param name="entity"></param>
/// <returns></returns>
//public UserInfo ComputePasswordHash()
//{
// this.Pwd = HashCode(this.UserName.ToUpper() + this.Pwd + (this.CreateTime).ToString("yyyy-MM-dd HH:mm:ss"));
// return this;
//}
/// <summary>
/// 获取MD5值
/// </summary>
/// <param name="key">加密的字符串</param>
/// <returns>返回MD5值</returns>
//public string HashCode(string key)
//{
// return FormsAuthentication.HashPasswordForStoringInConfigFile(key, "MD5");
//}
#endregion
}
}

View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelT
{
public class TBL_StationList
{
public int ID { get; set; }
public int ProjectID { get; set; }
public string StationName { get; set; }
public string StationType { get; set; }
public int ArtworkOrder { get; set; }
public string StationDesc { get; set; }
public Nullable<System.DateTime> LastUpdateDate { get; set; }
public string LogTableName { get; set; }
public byte[] PreviewImage { get; set; }
public string Remark { get; set; }
public string PacketName { get; set; }
public Nullable<int> SnListOrder { get; set; }
public Nullable<sbyte> IsValid { get; set; }
public Nullable<int> SnType { get; set; }
public string EditPwd { get; set; }
public string ReleasePwd { get; set; }
public string PacketMd5 { get; set; }
}
}

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{CFBEF2F8-4B58-4EE1-BCB1-91C9D071CA45}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Models</RootNamespace>
<AssemblyName>Models</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
<HintPath>..\packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll</HintPath>
</Reference>
<Reference Include="Google.Protobuf, Version=3.19.4.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>..\packages\Google.Protobuf.3.19.4\lib\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Compression.LZ4.1.2.6\lib\net46\K4os.Compression.LZ4.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.2.6\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath>
</Reference>
<Reference Include="K4os.Hash.xxHash, Version=1.0.6.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
<HintPath>..\packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
</Reference>
<Reference Include="MySql.Data, Version=8.0.29.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.8.0.29\lib\net452\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="SqlSugar, Version=5.1.4.86, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SqlSugar.5.1.4.87\lib\SqlSugar.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Transactions" />
<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="Ubiety.Dns.Core, Version=2.2.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.8.0.29\lib\net452\Ubiety.Dns.Core.dll</HintPath>
</Reference>
<Reference Include="ZstdNet, Version=1.4.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>..\packages\MySql.Data.8.0.29\lib\net452\ZstdNet.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="ModelGoods\BehindPast.cs" />
<Compile Include="ModelGoods\jsonapi.cs" />
<Compile Include="ModelGoods\TBL_4_26_TestLog.cs" />
<Compile Include="ModelGoods\TBL_UTS_Manage_UserAuth_Operation.cs" />
<Compile Include="ModelGoods\uts_bindhistoryinfo_log.cs" />
<Compile Include="ModelGoods\uts_importinfo_log.cs" />
<Compile Include="ModelGoods\uts_johao_tbl_importinfo.cs" />
<Compile Include="ModelGoods\uts_johao_tbl_shipping.cs" />
<Compile Include="ModelGoods\uts_zongqing_tbl_importinfo.cs" />
<Compile Include="ModelGoods\uts_zongqing_tbl_shipping.cs" />
<Compile Include="ModelItems\TBL_Project.cs" />
<Compile Include="ModelItems\TBL_UTS_Manage_User.cs" />
<Compile Include="ModelT\TBL_StationList.cs" />
<Compile Include="ProbjectType.cs" />
<Compile Include="ShippingProject.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SqlBase.cs" />
<Compile Include="SqljohaoBase.cs" />
<Compile Include="SqlSugarBase.cs" />
<Compile Include="SqlSugarByT.cs" />
<Compile Include="SqlSugarGoodsBase.cs" />
<Compile Include="ViewMessageModel.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public class ProbjectType
{
public int value { get; set; }
public string text { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Models")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Models")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("cfbef2f8-4b58-4ee1-bcb1-91c9d071ca45")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,16 @@
using Models.ModelGoods;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public class ShippingProject: uts_zongqing_tbl_shipping
{
public int ProductTypeID { get; set; }
public string ProjectName { get; set; }
public int bandingnum { get; set; }
}
}

View File

@@ -0,0 +1,54 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public static class SqlBase
{
public static object S = new object();
//public static string sql = "Server=uts-svr2.qicp.net;Database=uts_ZongQing;Uid=uts_manager;Pwd=WoUts*#082k;charset=utf8;port=3307;AllowLoadLocalInfile=true;";
public static string sql = "Server=db.uts-data.com;Database=uts_ZongQing;Uid=uts_manager;Pwd=WoUts*#082k;charset=utf8;port=3307;;AllowLoadLocalInfile=true;";
public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()
{
DbType = SqlSugar.DbType.MySql,
ConnectionString = sql,
IsAutoCloseConnection = true
},
db =>
{
lock (S)
{
//string s3 = AppDomain.CurrentDomain.BaseDirectory;
//db.DbMaintenance.CreateDatabase(); //个别数据库不支持
//Type[] types = Assembly
//.LoadFrom($@"{s3}\bin\Models.dll")//如果 .dll报错可以换成 xxx.exe 有些生成的是exe
//.GetTypes().Where(it => it.FullName.Contains("Models.ModelItems."))//命名空间过滤,当然你也可以写其他条件过滤
//.ToArray();//断点调试一下是不是需要的Type不是需要的在进行过滤
//db.CodeFirst.SetStringDefaultLength(200).InitTables(types);//根据types创建表
db.Aop.OnLogExecuting = (s, p) =>
{
Debug.WriteLine(s);
};
}
//string ret = $"{s3}\\App_Data\\configs\\sqlView.txt";
//string ret1 = $"{s3}\\App_Data\\configs\\ccgc.txt";
//string url = File.ReadAllText(ret, Encoding.UTF8);
//string url1 = File.ReadAllText(ret1, Encoding.UTF8);
//Db.Ado.ExecuteCommand(url);
//Db.Ado.ExecuteCommand(url1);
});
}
}

View File

@@ -0,0 +1,46 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public static class SqlSugarBase
{
public static object S = new object();
public static string sql = "Server=uts-svr2.qicp.net;Database=uts_manage;Uid=uts_manager;Pwd=WoUts*#082k;charset=utf8;port=3307;AllowLoadLocalInfile=true;";
public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()
{
DbType = SqlSugar.DbType.MySql,
ConnectionString = sql,
IsAutoCloseConnection = true
},
db =>
{
lock (S)
{
//string s3 = AppDomain.CurrentDomain.BaseDirectory;
//db.DbMaintenance.CreateDatabase(); //个别数据库不支持
//Type[] types = Assembly
//.LoadFrom($@"{s3}\bin\Models.dll")//如果 .dll报错可以换成 xxx.exe 有些生成的是exe
//.GetTypes().Where(it => it.FullName.Contains("Models.ModelItems."))//命名空间过滤,当然你也可以写其他条件过滤
//.ToArray();//断点调试一下是不是需要的Type不是需要的在进行过滤
//db.CodeFirst.SetStringDefaultLength(200).InitTables(types);//根据types创建表
db.Aop.OnLogExecuting = (s, p) =>
{
Debug.WriteLine(s);
};
}
//string ret = $"{s3}\\App_Data\\configs\\sqlView.txt";
//string ret1 = $"{s3}\\App_Data\\configs\\ccgc.txt";
//string url = File.ReadAllText(ret, Encoding.UTF8);
//string url1 = File.ReadAllText(ret1, Encoding.UTF8);
//Db.Ado.ExecuteCommand(url);
//Db.Ado.ExecuteCommand(url1);
});
}
}

View File

@@ -0,0 +1,49 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public class SqlSugarByT
{
public static object S = new object();
public static string sql = "Server=uts-svr2.qicp.net;Database=uts_ZongQing;Uid=uts_manager;Pwd=WoUts*#082k;charset=utf8;port=3307;AllowLoadLocalInfile=true;";
public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()
{
DbType = SqlSugar.DbType.MySql,
ConnectionString = sql,
IsAutoCloseConnection = true
},
db =>
{
lock (S)
{
//string s3 = AppDomain.CurrentDomain.BaseDirectory;
//db.DbMaintenance.CreateDatabase(); //个别数据库不支持
//Type[] types = Assembly
//.LoadFrom($@"{s3}\bin\Models.dll")//如果 .dll报错可以换成 xxx.exe 有些生成的是exe
//.GetTypes().Where(it => it.FullName.Contains("Models.ModelItems."))//命名空间过滤,当然你也可以写其他条件过滤
//.ToArray();//断点调试一下是不是需要的Type不是需要的在进行过滤
//db.CodeFirst.SetStringDefaultLength(200).InitTables(types);//根据types创建表
db.Aop.OnLogExecuting = (s, p) =>
{
Debug.WriteLine(s);
};
}
//string ret = $"{s3}\\App_Data\\configs\\sqlView.txt";
//string ret1 = $"{s3}\\App_Data\\configs\\ccgc.txt";
//string url = File.ReadAllText(ret, Encoding.UTF8);
//string url1 = File.ReadAllText(ret1, Encoding.UTF8);
//Db.Ado.ExecuteCommand(url);
//Db.Ado.ExecuteCommand(url1);
});
}
}

View File

@@ -0,0 +1,46 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public class SqlSugarGoodsBase
{
public static object S = new object();
public static string sql = "Server=blv-cloud-db.mysql.rds.aliyuncs.com;Database=uts_db;Uid=blv_rcu;Pwd=fnadiaJDIJ7546;charset=utf8;port=3307;AllowLoadLocalInfile=true;";
public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()
{
DbType = SqlSugar.DbType.MySql,
ConnectionString = sql,
IsAutoCloseConnection = true
},
db =>
{
lock (S)
{
//string s3 = AppDomain.CurrentDomain.BaseDirectory;
//db.DbMaintenance.CreateDatabase(); //个别数据库不支持
//Type[] types = Assembly
//.LoadFrom($@"{s3}\bin\Models.dll")//如果 .dll报错可以换成 xxx.exe 有些生成的是exe
//.GetTypes().Where(it => it.FullName.Contains("Models.ModelItems."))//命名空间过滤,当然你也可以写其他条件过滤
//.ToArray();//断点调试一下是不是需要的Type不是需要的在进行过滤
//db.CodeFirst.SetStringDefaultLength(200).InitTables(types);//根据types创建表
db.Aop.OnLogExecuting = (s, p) =>
{
Debug.WriteLine(s);
};
}
//string ret = $"{s3}\\App_Data\\configs\\sqlView.txt";
//string ret1 = $"{s3}\\App_Data\\configs\\ccgc.txt";
//string url = File.ReadAllText(ret, Encoding.UTF8);
//string url1 = File.ReadAllText(ret1, Encoding.UTF8);
//Db.Ado.ExecuteCommand(url);
//Db.Ado.ExecuteCommand(url1);
});
}
}

View File

@@ -0,0 +1,47 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public class SqljohaoBase
{
public static object S = new object();
//public static string sql = "Server=uts-svr2.qicp.net;Database=uts_ZongQing;Uid=uts_manager;Pwd=WoUts*#082k;charset=utf8;port=3307;AllowLoadLocalInfile=true;";
public static string sql = "Server=db.uts-data.com;Database=uts_johao;Uid=uts_manager;Pwd=WoUts*#082k;charset=utf8;port=3307;;AllowLoadLocalInfile=true;";
public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()
{
DbType = SqlSugar.DbType.MySql,
ConnectionString = sql,
IsAutoCloseConnection = true
},
db =>
{
lock (S)
{
//string s3 = AppDomain.CurrentDomain.BaseDirectory;
//db.DbMaintenance.CreateDatabase(); //个别数据库不支持
//Type[] types = Assembly
//.LoadFrom($@"{s3}\bin\Models.dll")//如果 .dll报错可以换成 xxx.exe 有些生成的是exe
//.GetTypes().Where(it => it.FullName.Contains("Models.ModelItems."))//命名空间过滤,当然你也可以写其他条件过滤
//.ToArray();//断点调试一下是不是需要的Type不是需要的在进行过滤
//db.CodeFirst.SetStringDefaultLength(200).InitTables(types);//根据types创建表
db.Aop.OnLogExecuting = (s, p) =>
{
Debug.WriteLine(s);
};
}
//string ret = $"{s3}\\App_Data\\configs\\sqlView.txt";
//string ret1 = $"{s3}\\App_Data\\configs\\ccgc.txt";
//string url = File.ReadAllText(ret, Encoding.UTF8);
//string url1 = File.ReadAllText(ret1, Encoding.UTF8);
//Db.Ado.ExecuteCommand(url);
//Db.Ado.ExecuteCommand(url1);
});
}
}

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public class ReturnResult
{
public int Status { get; set; }
public dynamic Message { get; set; }
public int nums { get; set; }
public string Name { get; set; }
public int PID { get; set; }
public int quabu { get; set; }
public int bandingshulian { get; set; }
public string ProjectName { get; set; }
public int shuliabn { get; set; }
public int wzx { get; set; }
public int zxz { get; set; }
public int IsAdmin { get; set; }
}
public class ReturnResult<TData> : ReturnResult
{
public TData Data { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.29.0" newVersion="8.0.29.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BouncyCastle" version="1.8.5" targetFramework="net472" />
<package id="Google.Protobuf" version="3.19.4" targetFramework="net472" />
<package id="K4os.Compression.LZ4" version="1.2.6" targetFramework="net472" />
<package id="K4os.Compression.LZ4.Streams" version="1.2.6" targetFramework="net472" />
<package id="K4os.Hash.xxHash" version="1.0.6" targetFramework="net472" />
<package id="MySql.Data" version="8.0.29" targetFramework="net472" />
<package id="SqlSugar" version="5.1.4.87" targetFramework="net472" />
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
<package id="System.Memory" version="4.5.4" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="5.0.0" targetFramework="net472" />
</packages>