工艺路线调整
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user