From 35091697a5421218d31e7e2d2c58b6a5385cc663 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 17 八月 2023 09:58:02 +0800
Subject: [PATCH] 改动
---
inventory-server/src/main/resources/mapper/RepertoryMapper.xml | 16 ++++------------
1 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/inventory-server/src/main/resources/mapper/RepertoryMapper.xml b/inventory-server/src/main/resources/mapper/RepertoryMapper.xml
index f6ccf2a..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
@@ -25,18 +25,10 @@
<if test="type!=null ">
and type=#{type}
</if>
- <if test="checkState!=null ">
- 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
- and check_state = 1
- and type = 0
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3