From 95bd45377f1e04b448d407e3af4ee2707b90a24b Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期四, 17 八月 2023 17:07:52 +0800
Subject: [PATCH] MOM系统-8-17计量管理版本一结束

---
 inventory-server/src/main/resources/mapper/RepertoryMapper.xml |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/inventory-server/src/main/resources/mapper/RepertoryMapper.xml b/inventory-server/src/main/resources/mapper/RepertoryMapper.xml
index 11d1608..e978167 100644
--- a/inventory-server/src/main/resources/mapper/RepertoryMapper.xml
+++ b/inventory-server/src/main/resources/mapper/RepertoryMapper.xml
@@ -5,8 +5,8 @@
         select id,
         name,
         specifications,
-        code,
-        check_state,
+        quality_traceability,
+        check_result,
         user_name,
         DATE_FORMAT(create_time, '%Y-%m-%d') '鍏ュ簱鏃ユ湡',
         note
@@ -22,19 +22,13 @@
             <if test="time!=null and time!=''">
                 and create_time=#{time}
             </if>
-            <if test="type!=null and type!=''">
+            <if test="type!=null ">
                 and type=#{type}
             </if>
-            <if test="checkState!=null and checkState!=''">
-                and check_state=#{checkState}
+            <if test="result!=null ">
+                and check_result=#{result}
             </if>
             order by id desc
         </where>
-    </select>
-    <!--鏌ヨ搴撳瓨涓変釜瀛楁缁欐坊鍔犻攢鍞崟-->
-    <select id="getSale" resultType="java.util.Map">
-        select id, name, specifications, unit
-        from mom_ocean.repertory
-        where state = 1
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3