工艺路线调整

This commit is contained in:
qianhao.xu
2024-12-03 16:41:48 +08:00
parent 6595026c8c
commit 6cc576e43e
3 changed files with 10 additions and 2 deletions

View File

@@ -18,11 +18,14 @@ namespace DOAN.Model.MES.base_
/// 名称
/// </summary>
public string Name { get; set; }
public string Code { get; set; }
/// <summary>
/// 编号
/// 产成品编号
/// </summary>
public string Code { get; set; }
[SugarColumn(ColumnName = "production_code")]
public string ProductionCode{ get; set; }
[SugarColumn(IsIgnore =true)]
public List<BaseWorkProcessesDto3> BaseWorkProcessesList { get; set; }

View File

@@ -12,6 +12,8 @@ namespace DOAN.Model.MES.base_.Dto
public string Code { get; set; }
public int? Status { get; set; }
public string ProductionCode{ get; set; }
}
/// <summary>
@@ -25,6 +27,8 @@ namespace DOAN.Model.MES.base_.Dto
public string Name { get; set; }
public string Code { get; set; }
public string ProductionCode{ get; set; }
public string LogicFlowData { get; set; }

View File

@@ -38,6 +38,7 @@ namespace DOAN.Service.MES.base_
.Create<BaseWorkRoute>()
.AndIF(!string.IsNullOrEmpty(parm.Name), it => it.Name.Contains(parm.Name))
.AndIF(!string.IsNullOrEmpty(parm.Code), it => it.Code.Contains(parm.Code))
.AndIF(!string.IsNullOrEmpty(parm.ProductionCode), it => it.Code.Contains(parm.ProductionCode))
.AndIF(parm.Status > -1, it => it.Status == parm.Status);
var response = Queryable()
.Where(predicate.ToExpression())