select goods_id, goods_unit, life_days, remark, single_weight,create_time, update_time
from tbl_app_goods
insert into tbl_app_goods
goods_id,
goods_unit,
life_days,
remark
single_weight
#{goodsId},
#{goodsUnit},
#{lifeDays},
#{remark}
#{singleWeight}
update tbl_app_goods
goods_unit = #{goodsUnit},
life_days = #{lifeDays},
remark= #{remark},
single_weight = #{singleWeight},
where goods_id = #{goodsId}
delete from tbl_app_goods where goods_id = #{goodsId}
truncate table tbl_app_goods