From d68c3dfe1f3ee9c1a201bb5bc528a1d6fd2feaa2 Mon Sep 17 00:00:00 2001
From: zhangsiqi <2825463979@qq.com>
Date: Wed, 3 Jul 2024 14:48:36 +0800
Subject: [PATCH] =?UTF-8?q?[feat]=20=E4=BF=AE=E6=94=B9=E4=BB=93=E5=BA=93ma?=
=?UTF-8?q?pper?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/stock/StockInfoMapper.xml | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/mapper/stock/StockInfoMapper.xml b/ruoyi-admin/src/main/resources/mapper/stock/StockInfoMapper.xml
index aec1e599..5cc69914 100644
--- a/ruoyi-admin/src/main/resources/mapper/stock/StockInfoMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/stock/StockInfoMapper.xml
@@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- select stock_id, StockNO, Stockname, stockAddr, stockmanager,stock_manager_phone, stockmemo,
+ select stock_id,StockNo, Stockname, stockAddr, stockmanager,stock_manager_phone, stockmemo,
defalt_itemclass, first_add_time, update_info_time from stock_info
@@ -26,10 +26,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and StockNO like concat('%', #{stockNO}, '%')
- and Stockname like concat('%', #{stockname}, '%')
+ and Stockname like concat('%', #{stockName}, '%')
and stockAddr like concat('%', #{stockAddr}, '%')
- and stockmanager = #{stockmanager}
- and stockmemo = #{stockmemo}
+ and stockmanager = #{stockManager}
+ and stockmemo = #{stockMemo}
@@ -52,21 +52,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
insert into stock_info
StockNO,
- Stockname,
+ Stockname,
stockAddr,
- stockmanager,
+ stockmanager,
stock_manager_phone,
- stockmemo,
+ stockmemo,
defalt_itemclass,
first_add_time,
- #{stockNO},
- #{stockname},
+ #{stockNO},
+ #{stockName},
#{stockAddr},
- #{stockmanager},
+ #{stockmanager},
#{stockManagerPhone},
- #{stockmemo},
+ #{stockMemo},
#{defaltItemclass},
now(),
@@ -76,11 +76,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update stock_info
StockNO = #{stockNO},
- Stockname = #{stockname},
+ Stockname = #{stockname},
StockAddr = #{stockAddr},
- stockmanager = #{stockmanager},
+ stockmanager = #{stockmanager},
stock_manager_phone = #{stockManagerPhone},
- stockmemo = #{stockmemo},
+ stockmemo = #{stockmemo},
defalt_itemclass = #{defaltItemclass},
update_info_time = CONCAT_WS(',',NOW(),update_info_time),