record_id, uid, erban_no, noble_id, noble_name, create_time, approve_erban_no, approve_result,
approve_desc, approve_time, admin_id
SELECT LAST_INSERT_ID()
insert into user_noble_pretty_no_app (uid, erban_no, noble_id,
noble_name, create_time, approve_erban_no,
approve_result, approve_desc, approve_time,
admin_id)
values (#{uid,jdbcType=BIGINT}, #{erbanNo,jdbcType=BIGINT}, #{nobleId,jdbcType=INTEGER},
#{nobleName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{approveErbanNo,jdbcType=BIGINT},
#{approveResult,jdbcType=TINYINT}, #{approveDesc,jdbcType=VARCHAR}, #{approveTime,jdbcType=TIMESTAMP},
#{adminId,jdbcType=INTEGER})
SELECT LAST_INSERT_ID()
insert into user_noble_pretty_no_app
uid,
erban_no,
noble_id,
noble_name,
create_time,
approve_erban_no,
approve_result,
approve_desc,
approve_time,
admin_id,
#{uid,jdbcType=BIGINT},
#{erbanNo,jdbcType=BIGINT},
#{nobleId,jdbcType=INTEGER},
#{nobleName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{approveErbanNo,jdbcType=BIGINT},
#{approveResult,jdbcType=TINYINT},
#{approveDesc,jdbcType=VARCHAR},
#{approveTime,jdbcType=TIMESTAMP},
#{adminId,jdbcType=INTEGER},
update user_noble_pretty_no_app
uid = #{uid,jdbcType=BIGINT},
erban_no = #{erbanNo,jdbcType=BIGINT},
noble_id = #{nobleId,jdbcType=INTEGER},
noble_name = #{nobleName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
approve_erban_no = #{approveErbanNo,jdbcType=BIGINT},
approve_result = #{approveResult,jdbcType=TINYINT},
approve_desc = #{approveDesc,jdbcType=VARCHAR},
approve_time = #{approveTime,jdbcType=TIMESTAMP},
admin_id = #{adminId,jdbcType=INTEGER},
where record_id = #{recordId,jdbcType=INTEGER}
update user_noble_pretty_no_app
set uid = #{uid,jdbcType=BIGINT},
erban_no = #{erbanNo,jdbcType=BIGINT},
noble_id = #{nobleId,jdbcType=INTEGER},
noble_name = #{nobleName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
approve_erban_no = #{approveErbanNo,jdbcType=BIGINT},
approve_result = #{approveResult,jdbcType=TINYINT},
approve_desc = #{approveDesc,jdbcType=VARCHAR},
approve_time = #{approveTime,jdbcType=TIMESTAMP},
admin_id = #{adminId,jdbcType=INTEGER}
where record_id = #{recordId,jdbcType=INTEGER}
delete from user_noble_pretty_no_app
where record_id = #{recordId,jdbcType=INTEGER}