insert into app_sign_key (os, app_version, sign_key,
create_time)
values (#{os,jdbcType=VARCHAR}, #{appVersion,jdbcType=VARCHAR}, #{signKey,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP})
delete from app_sign_key
where sign_key = #{signKey}
update app_sign_key set os=#{os,jdbcType=INTEGER}, app_version=#{appVersion,jdbcType=VARCHAR}, create_time=now()
where sign_key=#{signKey,jdbcType=VARCHAR}