team_performance id, user_id,user_level,year_month,month_team_performance,create_time,update_time #{userId},#{userLevel},#{yearMonth},#{monthTeamPerformance},now(),now() month_manure_total = #{userId}, user_level = #{userLevel}, year_month =#{yearMonth}, month_team_performance =#{monthTeamPerformance}, update_time =now() id = #{id} and month_manure_total = #{userId} and user_level = #{userLevel} and year_month =#{yearMonth} and month_team_performance =#{monthTeamPerformance} and create_time >= #{createTime} and #{updateTime} >= update_time insert into () value( ) UPDATE id = #{id} delete from where id = #{id}