SELECT goods_standard_id, goods_standard_name, goods_id, dept_goods_category_id, goods_price, discount_price, group_price, goods_num, goods_unit, create_by, create_time, sale_num, status, update_by, update_time, remark FROM goods_standard INSERT INTO goods_standard ( goods_standard_name, goods_id, dept_goods_category_id, goods_price, discount_price, group_price, goods_unit, goods_num, sale_num, status, remark, create_by, create_time ) VALUES ( #{goodsStandard.goodsStandardName}, #{goodsStandard.goodsId}, #{goodsStandard.deptGoodsCategoryId}, #{goodsStandard.goodsPrice}, #{goodsStandard.discountPrice}, #{goodsStandard.groupPrice}, #{goodsStandard.goodsUnit}, 100, 0, #{goodsStandard.status}, #{goodsStandard.remark}, #{goodsStandard.createBy}, sysdate() ) DELETE FROM goods_standard WHERE goods_id = #{goodsId}