配方版本数字

This commit is contained in:
quowingwang 2025-12-07 11:48:11 +08:00
parent a4ba7bf933
commit 4962221fcd
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ namespace DOAN.Model.MES.recipe.Dto
public string Version { get; set; }
public string Status { get; set; }
public int Status { get; set; }
public string CreatedBy { get; set; }

View File

@ -93,7 +93,7 @@ namespace DOAN.Service.MES.recipe
{
predicate.And(x => x.Version == parm.Version);
}
if (!string.IsNullOrEmpty(parm.Status))
if (!string.IsNullOrEmpty(parm.Status.ToString()))
{
predicate.And(x => x.Status == parm.Status);
}