select id, date, rule_id, unit_id, totalMount, deduct_amount, score from t_calculate_record insert into t_calculate_record id, date, rule_id, unit_id, totalMount, deduct_amount, score, #{id}, #{date}, #{ruleId}, #{unitId}, #{totalMount}, #{deductAmount}, #{score}, update t_calculate_record date = #{date}, rule_id = #{ruleId}, unit_id = #{unitId}, totalMount = #{totalMount}, deduct_amount = #{deductAmount}, score = #{score}, where id = #{id} delete from t_calculate_record where id = #{id} delete from t_calculate_record where id in #{id}