version_id, os, version, platform, status, version_desc, publish_time, create_time,appid,download_url
insert into app_version
os,
version,
platform,
status,
version_desc,
publish_time,
create_time,
appid,
download_url,
#{os,jdbcType=VARCHAR},
#{version,jdbcType=VARCHAR},
#{platform,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT},
#{versionDesc,jdbcType=VARCHAR},
#{publishTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP},
#{appid,jdbcType=VARCHAR},
#{downloadUrl,jdbcType=VARCHAR},
update app_version
set
os = #{os,jdbcType=VARCHAR},
version = #{version,jdbcType=VARCHAR},
platform = #{platform,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
version_desc = #{versionDesc,jdbcType=VARCHAR},
publish_time = #{publishTime,jdbcType=TIMESTAMP},
appid = #{appid,jdbcType=VARCHAR},
download_url = #{downloadUrl,jdbcType=VARCHAR}
where version_id =#{versionId,jdbcType=INTEGER}
delete from app_version
where version_id =#{versionId,jdbcType=INTEGER}