修改 盘点任务代码

This commit is contained in:
yang.lee
2023-11-16 15:15:30 +08:00
parent dca3712828
commit 255f307c8d
7 changed files with 74 additions and 28 deletions

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.WarehouseMgr.Entities.Entity.Constraints
{
public interface IUpdateEnabledEntity
{
public int enabled { get; set; }
}
}

View File

@@ -1,4 +1,5 @@
using SqlSugar;
using Tnb.WarehouseMgr.Entities.Entity.Constraints;
namespace Tnb.WarehouseMgr.Entities;
@@ -6,7 +7,7 @@ namespace Tnb.WarehouseMgr.Entities;
/// WMS电梯设定主表
/// </summary>
public partial class WmsElevatorH
public partial class WmsElevatorH : IUpdateEnabledEntity
{
[SugarColumn(IsIgnore = true)]
public int end_floor { get; set; }
@@ -64,6 +65,6 @@ public partial class WmsElevatorH
/// 状态
/// </summary>
[SugarColumn(ColumnName = "status")]
public int enable_mark { get; set; }
public int enabled { get; set; }
}