查询
This commit is contained in:
parent
c8b7c06918
commit
60ac0bf4e9
@ -179,7 +179,20 @@ namespace DOAN.Service.MES.recipe
|
||||
}
|
||||
else
|
||||
{
|
||||
var parametersList = pfRecipeParametersService.Queryable().Where(x => x.RecipeCode == pfVersionMax.RecipeCode && x.Version == pfVersionMax.Version).ToList();
|
||||
var parametersList = pfRecipeParametersService.Queryable()
|
||||
.Where(x => x.RecipeCode == pfVersionMax.RecipeCode && x.Version == pfVersionMax.Version)
|
||||
.Select(x => new PfRecipeParametersDto
|
||||
{
|
||||
RecipeCode = x.RecipeCode,
|
||||
ParamName = x.ParamName,
|
||||
Unit = x.Unit,
|
||||
UpperLimit = x.UpperLimit,
|
||||
LowerLimit = x.LowerLimit,
|
||||
StandardValue = x.StandardValue,
|
||||
Remark = x.Remark,
|
||||
Ifcheck = x.Ifcheck,
|
||||
})
|
||||
.ToList();
|
||||
if (parametersList != null && parametersList.Count > 0)
|
||||
{
|
||||
return ApiResult.Success("操作成功!", parametersList);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user