配方下达状态
This commit is contained in:
parent
c882354674
commit
ff90a4aba2
@ -42,6 +42,9 @@ namespace DOAN.Model.MES.recipe.Dto
|
||||
|
||||
public string ProductName { get; set; }
|
||||
|
||||
//配方下达状态
|
||||
public int IssueStatus { get; set; }
|
||||
|
||||
public List<PfRecipeParametersDto> RecipeParametersList { get; set; }
|
||||
}
|
||||
}
|
||||
@ -35,7 +35,10 @@ namespace DOAN.Service.MES.recipe
|
||||
Version = t.Version,
|
||||
Status = t.Status,
|
||||
ProductCode = p.Productcode,
|
||||
ProductName = p.ProductName
|
||||
ProductName = p.ProductName,
|
||||
IssueStatus = SqlFunc.Subqueryable<PfRecipeIssueLog>()
|
||||
.Where(h => h.RecipeCode == t.RecipeCode && h.Version == t.Version)
|
||||
.Any() ? 1 : 0
|
||||
});
|
||||
var response = query.ToPage<PfRecipeVersionDto>(parm);
|
||||
return response;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user