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),