From 540880b7b9a49b9a3debf23cb6b51739474969f3 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期二, 10 一月 2023 12:25:11 +0800
Subject: [PATCH] 设备点检标准、保养标准关联工作站接口去掉最后过滤条件
---
VueWebApi/DLL/DAL/ProductionManagementDAL.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/VueWebApi/DLL/DAL/ProductionManagementDAL.cs b/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
index 7fffab8..68a619c 100644
--- a/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
+++ b/VueWebApi/DLL/DAL/ProductionManagementDAL.cs
@@ -790,7 +790,7 @@
inner join TFlw_Rteqp E on B.step_code=E.step_code
inner join TEqpInfo Q on E.eqp_code=Q.code
inner join TEqpType T on Q.eqptype_code=T.code
- where A.materiel_code=@partcode and A.route_code=@routecode and B.step_code=@stepcode)";
+ where A.materiel_code=@partcode and A.route_code=@routecode and B.step_code=@stepcode) order by file_version desc";
dynamicParams.Add("@partcode", partcode);
dynamicParams.Add("@routecode", routecode);
dynamicParams.Add("@stepcode", stepcode);
--
Gitblit v1.9.3