From e145f248db1bfee531fd095b43abf3725a365e57 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期六, 29 三月 2025 14:30:27 +0800
Subject: [PATCH] 删除无用标准方法列表

---
 inspect-server/src/main/resources/mapper/InsSampleMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
index 2f7423d..94effbe 100644
--- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -250,6 +250,7 @@
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}
         </if>
+        ORDER BY send_time asc
     </select>
 
     <select id="inspectionOrderDetailsTaskSwitching" resultType="com.ruoyi.inspect.vo.InsOrderPlanTaskSwitchVo">
@@ -696,4 +697,13 @@
         order by ip.sort asc
     </select>
 
+    <!-- 鏍规嵁璁㈠崟id鏌ヨ鏍峰搧 -->
+    <select id="getSampleByOrderId" resultType="com.ruoyi.inspect.pojo.InsSample">
+        select is2.*,
+               sml.name standard_method_name
+        from ins_sample is2
+                 left join standard_method sml on sml.id = is2.standard_method_list_id
+        where is2.ins_order_id = #{insOrderId}
+    </select>
+
 </mapper>

--
Gitblit v1.9.3