修改AQL

This commit is contained in:
gongxh
2021-08-28 09:38:06 +08:00
parent 2a105e26bc
commit d1bdafe68c
2 changed files with 14 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ using System.Text;
namespace NX.ERP.Model namespace NX.ERP.Model
{ {
public class Material: BaseModel public class Material : BaseModel
{ {
private string _code; private string _code;
private string _name; private string _name;
@@ -19,7 +19,7 @@ namespace NX.ERP.Model
private int maxStock; private int maxStock;
private int minStock; private int minStock;
private int aql; private string aql;
public string MaterialCode { get => _code; set => _code = value; } public string MaterialCode { get => _code; set => _code = value; }
public string MaterialName { get => _name; set => _name = value; } public string MaterialName { get => _name; set => _name = value; }
@@ -57,7 +57,7 @@ namespace NX.ERP.Model
public int SafeStock { get; set; } public int SafeStock { get; set; }
[Newtonsoft.Json.JsonIgnore] [Newtonsoft.Json.JsonIgnore]
public int Aql { get => aql; set => aql = value; } public string Aql { get => aql; set => aql = value; }
@@ -102,9 +102,9 @@ namespace NX.ERP.Model
public DateTime? ModifyDate { get; set; } public DateTime? ModifyDate { get; set; }
/// <summary> /// <summary>
/// 是否采购 /// 是否采购
/// </summary> /// </summary>
public bool IsPurchase { get; set; } public bool IsPurchase { get; set; }
[Newtonsoft.Json.JsonIgnore] [Newtonsoft.Json.JsonIgnore]
public bool IsSelf { get; set; } public bool IsSelf { get; set; }

View File

@@ -6,8 +6,8 @@
<configuration> <configuration>
<appSettings> <appSettings>
<add key="ApiDbName" value="MES_SUBMIT" /> <add key="ApiDbName" value="MES_SUBMIT" />
<add key="server" value="10.0.0.250" /> <add key="server" value="10.0.0.12" />
<add key="AccId" value="u8@001" /> <add key="AccId" value="u8-2@003" />
<add key="UserId" value="wx997" /> <add key="UserId" value="wx997" />
<add key="Password" value="1" /> <add key="Password" value="1" />
<add key="EaiPort" value="80" /> <add key="EaiPort" value="80" />