From 9c61e9c8f99cc3c35f2940333605981ef4b30fbb Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 19 八月 2024 18:20:20 +0800
Subject: [PATCH] 工时管理小数点问题

---
 inspect-server/src/main/resources/mapper/InsOrderMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
index bc76b6c..b948667 100644
--- a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
@@ -70,7 +70,7 @@
         ir.url_s,
         sample_counts.sample_num,
         CONCAT(ROUND(approved_product_counts.approved_count / total_product_counts.total_count * 100, 2), '%') AS insProgress,
-        GROUP_CONCAT(DISTINCT isa.sample_code SEPARATOR ' ') AS sample_code,
+        GROUP_CONCAT(DISTINCT isa.sample_code SEPARATOR '锛�') AS sample_code,
         GROUP_CONCAT(DISTINCT isa.sample SEPARATOR ' ') AS sample_name,
         GROUP_CONCAT(DISTINCT isa.model SEPARATOR ' ') AS sample_model,
         u.name
@@ -160,6 +160,7 @@
         left join ins_product ip on isa.id = ip.ins_sample_id
         left join ins_product_result ipr on ip.id = ipr.ins_product_id
         where ip.state = 1
+        and i.id=#{id}
         ) a
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}

--
Gitblit v1.9.3