INSERT INTO kpi_khxz_ddy ( kh_year, kh_month, user_id, user_username, B ) VALUES ( #{khYear}, #{khMonth}, #{userId}, #{userUsername}, #{B} ) DELETE FROM kpi_khxz_ddy WHERE kh_year = #{khYear} AND kh_month = #{khMonth} UPDATE kpi_khxz_ddy SET C = #{C} WHERE kh_year = #{khYear} AND kh_month = #{khMonth} AND user_id = #{userId} UPDATE kpi_khxz_ddy SET E = #{E}, F = #{F} WHERE kh_year = #{khYear} AND kh_month = #{khMonth} AND user_id = #{userId}