From 5d6cb15ac86d9174393cb9d1538d69b567e2c26c Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期四, 09 五月 2024 08:56:50 +0800 Subject: [PATCH] 修改货品编辑bug --- CoreCms.Net.Web.WebApi/Controllers/OrderController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/CoreCms.Net.Web.WebApi/Controllers/OrderController.cs b/CoreCms.Net.Web.WebApi/Controllers/OrderController.cs index fb89f0c..2d20428 100644 --- a/CoreCms.Net.Web.WebApi/Controllers/OrderController.cs +++ b/CoreCms.Net.Web.WebApi/Controllers/OrderController.cs @@ -417,7 +417,7 @@ //鑾峰彇鐩稿叧鐘舵�佹弿杩拌鏄庤浆鎹� model.statusText = EnumHelper.GetEnumDescriptionByValue<GlobalEnumVars.PlanOrderTiJiao>(model.status); - var modelItem = await _planOrderItemServices.QueryListByClauseAsync(p => p.orderId == entity.id, p => p.specification, OrderByType.Asc); + var modelItem = await _planOrderItemServices.QueryListByClauseAsync(p => p.orderId == entity.id && p.isOld == false, p => p.specification, OrderByType.Asc); jm.code = 0; jm.status = true; -- Gitblit v1.9.1