select id, goods_name, goods_title, class_id, goods_img, post_fee, monthly_sales, stock, spec, param, has_spec, is_recommend, is_hot, is_custom,status, share_img, share_title,tips, sort, create_at, update_at, del_flag from mall_goods_goods insert into mall_goods_goods goods_name, goods_title, class_id, goods_img, post_fee, monthly_sales, stock, spec, param, has_spec, is_recommend, is_hot, is_custom, status, share_img, share_title, sort, create_at, update_at, del_flag, tips, #{goodsName}, #{goodsTitle}, #{classId}, #{goodsImg}, #{postFee}, #{monthlySales}, #{stock}, #{spec}, #{param}, #{hasSpec}, #{isRecommend}, #{isHot}, #{isCustom}, #{status}, #{shareImg}, #{shareTitle}, #{sort}, #{createAt}, #{updateAt}, #{delFlag}, #{tips}, update mall_goods_goods goods_name = #{goodsName}, goods_title = #{goodsTitle}, class_id = #{classId}, goods_img = #{goodsImg}, post_fee = #{postFee}, monthly_sales = #{monthlySales}, stock = #{stock}, spec = #{spec}, param = #{param}, has_spec = #{hasSpec}, is_recommend = #{isRecommend}, is_hot = #{isHot}, is_custom = #{isCustom}, status = #{status}, share_img = #{shareImg}, share_title = #{shareTitle}, sort = #{sort}, create_at = #{createAt}, update_at = #{updateAt}, del_flag = #{delFlag}, tips = #{tips}, where id = #{id} delete from mall_goods_goods where id = #{id} update mall_goods_goods SET del_flag = '1' where id in #{id}