select id, grade, discount_term, discount_amt, gasoil_discount_amt, dieseloil_discount_amt, vip_discounty_plus, coupon_plus, discount_plan_type, oil_name, station_id, station_name, status from markert_plan insert into markert_plan grade, discount_term, discount_amt, gasoil_discount_amt, dieseloil_discount_amt, vip_discounty_plus, coupon_plus, discount_plan_type, oil_name, station_id, station_name, status, #{grade}, #{discountTerm}, #{discountAmt}, #{gasoilDiscountAmt}, #{dieseloilDiscountAmt}, #{vipDiscountyPlus}, #{couponPlus}, #{discountPlanType}, #{oilName}, #{stationId}, #{stationName}, #{status}, update markert_plan grade = #{grade}, discount_term = #{discountTerm}, discount_amt = #{discountAmt}, gasoil_discount_amt = #{gasoilDiscountAmt}, dieseloil_discount_amt = #{dieseloilDiscountAmt}, vip_discounty_plus = #{vipDiscountyPlus}, coupon_plus = #{couponPlus}, discount_plan_type = #{discountPlanType}, oil_name = #{oilName}, station_id = #{stationId}, station_name = #{stationName}, status = #{status}, where id = #{id} delete from markert_plan where id = #{id} delete from markert_plan where id in #{id}