质量控制参数查询
This commit is contained in:
parent
1d91e136e5
commit
ef2deb33f8
@ -6,6 +6,7 @@ namespace RIZO.Model.Mes.Dto.ProductionPreparation
|
||||
/// </summary>
|
||||
public class QualityControlDetailQueryDto : PagerInfo
|
||||
{
|
||||
public string QcCode { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -6,6 +6,7 @@ namespace RIZO.Model.Mes.Dto.ProductionPreparation
|
||||
/// </summary>
|
||||
public class QualityControlQueryDto : PagerInfo
|
||||
{
|
||||
public string QcCode { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -72,7 +72,10 @@ namespace RIZO.Service.Mes.ProductionPreparation
|
||||
private static Expressionable<QualityControlDetail> QueryExp(QualityControlDetailQueryDto parm)
|
||||
{
|
||||
var predicate = Expressionable.Create<QualityControlDetail>();
|
||||
|
||||
if (parm.QcCode != null && parm.QcCode.ToString().Length > 0)
|
||||
{
|
||||
predicate.And(it => it.QcCode == parm.QcCode);
|
||||
}
|
||||
return predicate;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user