From 91ab1a15515c4c213b2ac4f777a7f20c3d0d59ad Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 28 三月 2025 13:49:53 +0800
Subject: [PATCH] 一个订单在每个站点检验都需要扫码入库报检,在中间站点复核继续试验之后默认自动将样品出库,且在列表中也不需要再展示出来,到最后一步复核结束反而是需要手动去出库不能自动出库,且出库之后也不需要在页面展示

---
 cnas-server/src/main/resources/mapper/CertificationMapper.xml |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/cnas-server/src/main/resources/mapper/CertificationMapper.xml b/cnas-server/src/main/resources/mapper/CertificationMapper.xml
index a532113..3fe21bb 100644
--- a/cnas-server/src/main/resources/mapper/CertificationMapper.xml
+++ b/cnas-server/src/main/resources/mapper/CertificationMapper.xml
@@ -3,17 +3,18 @@
 <mapper namespace="com.yuanchu.mom.mapper.CertificationMapper">
     <select id="getCertificationDetail" resultType="com.yuanchu.mom.pojo.Certification">
         select b.*
-        from ( select a.`name`, a.`code`,a.organization,a.explanation,a.first_issuance_date,a.latest_issuance_date,c.expire_time FROM
-            (SELECT id,name,MIN(date_of_issuance) AS first_issuance_date,
-                    MAX(date_of_issuance) AS latest_issuance_date,
-                    c.`code`,c.organization,c.explanation
-             FROM
-                 certification c
+        from ( select a.`name`,
+        a.`code`,a.organization,a.explanation,a.first_issuance_date,a.latest_issuance_date,c.expire_time FROM
+        (SELECT id,name,MIN(date_of_issuance) AS first_issuance_date,
+        MAX(date_of_issuance) AS latest_issuance_date,
+        c.`code`,c.organization,c.explanation
+        FROM
+        certification c
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}
         </if>
-             GROUP BY
-                 name) a left join certification c on a.id=c.id
+        GROUP BY
+        name) a left join certification c on a.id=c.id
         ) b
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3