account_info
id,
user_id,user_level,`year_month`,extract_money,earnings_month,frozen_money,earnings_total,create_time,update_time
#{userId},#{userLevel},#{yearMonth},#{extractMoney},#{earningsMonth},#{frozenMoney},
#{earningsTotal},now(),now()
user_id = #{userId},
user_level = #{userLevel},
`year_month` =#{yearMonth},
extract_money =#{extractMoney},
earnings_month =#{earningsMonth},
frozen_money =#{frozenMoney},
earnings_total =#{earningsTotal},
update_time =now()
id = #{id}
and user_id = #{userId}
and user_level = #{userLevel}
and `year_month` =#{yearMonth}
and extract_money =#{extractMoney}
and earnings_month =#{earningsMonth}
and frozen_money =#{frozenMoney}
and earnings_total =#{earningsTotal}
and create_time >= #{createTime}
and #{updateTime} >= update_time
insert into
()
value(
)
UPDATE
id = #{id}
delete from
where id = #{id}