select stock_id, StockNO, Stockname, stockAddr, stockmanager, stockmemo, defalt_itemclass, first_add_time, update_info_time from stock_info
insert into stock_info
StockNO,
Stockname,
stockAddr,
stockmanager,
stockmemo,
defalt_itemclass,
first_add_time,
#{StockNO},
#{Stockname},
#{stockAddr},
#{stockmanager},
#{stockmemo},
#{defaltItemclass},
now(),
update stock_info
StockNO = #{StockNO},
Stockname = #{Stockname},
stockAddr = #{stockAddr},
stockmanager = #{stockmanager},
stockmemo = #{stockmemo},
defalt_itemclass = #{defaltItemclass},
update_info_time = CONCAT_WS(',',NOW(),update_info_time),
where stock_id = #{stockId}
delete from stock_info where stock_id = #{stockId}
delete from stock_info where stock_id in
#{stockId}