insert into mall2_points_rules_detil(
`father_id`,
`points_rules_type`,
`points_detil_name`,
`points_detil_name_id`,
`points_store_name`,
`points_store_id`,
`remark`,
`tstm`)
values(
#{fatherId},
#{pointsRulesType},
#{pointsDetilName},
#{pointsDetilNameId},
#{pointsStoreName},
#{pointsStoreId},
#{remark},
#{tstm})
update mall2_points_rules_detil
`father_id` = #{fatherId},
`points_rules_type` = #{pointsRulesType},
`points_detil_name` = #{pointsDetilName},
`points_detil_name_id` = #{pointsDetilNameId},
`points_store_name` = #{pointsStoreName},
`points_store_id` = #{pointsStoreId},
`remark` = #{remark},
`tstm` = #{tstm}
where id = #{id}
delete from mall2_points_rules_detil where id = #{value}
delete from mall2_points_rules_detil where id in
#{id}