banner_id, banner_name, banner_pic, skip_type, skip_uri, seq_no, os_type, is_new_user,
app_type, banner_status, start_time, end_time, create_tiem, view_type
insert into banner (banner_id, banner_name, banner_pic,
skip_type, skip_uri, seq_no,
os_type, is_new_user, app_type,
banner_status, start_time, end_time,
create_tiem, view_type)
values (#{bannerId,jdbcType=INTEGER}, #{bannerName,jdbcType=VARCHAR}, #{bannerPic,jdbcType=VARCHAR},
#{skipType,jdbcType=TINYINT}, #{skipUri,jdbcType=VARCHAR}, #{seqNo,jdbcType=INTEGER},
#{osType,jdbcType=TINYINT}, #{isNewUser,jdbcType=TINYINT}, #{appType,jdbcType=TINYINT},
#{bannerStatus,jdbcType=TINYINT}, #{startTime,jdbcType=VARCHAR}, #{endTime,jdbcType=VARCHAR},
#{createTiem,jdbcType=TIMESTAMP}, #{viewType,jdbcType=TINYINT})
insert into banner
banner_id,
banner_name,
banner_pic,
skip_type,
skip_uri,
seq_no,
os_type,
is_new_user,
app_type,
banner_status,
start_time,
end_time,
create_tiem,
view_type,
#{bannerId,jdbcType=INTEGER},
#{bannerName,jdbcType=VARCHAR},
#{bannerPic,jdbcType=VARCHAR},
#{skipType,jdbcType=TINYINT},
#{skipUri,jdbcType=VARCHAR},
#{seqNo,jdbcType=INTEGER},
#{osType,jdbcType=TINYINT},
#{isNewUser,jdbcType=TINYINT},
#{appType,jdbcType=TINYINT},
#{bannerStatus,jdbcType=TINYINT},
#{startTime,jdbcType=VARCHAR},
#{endTime,jdbcType=VARCHAR},
#{createTiem,jdbcType=TIMESTAMP},
#{viewType,jdbcType=TINYINT},
update banner
banner_name = #{bannerName,jdbcType=VARCHAR},
banner_pic = #{bannerPic,jdbcType=VARCHAR},
skip_type = #{skipType,jdbcType=TINYINT},
skip_uri = #{skipUri,jdbcType=VARCHAR},
seq_no = #{seqNo,jdbcType=INTEGER},
os_type = #{osType,jdbcType=TINYINT},
is_new_user = #{isNewUser,jdbcType=TINYINT},
app_type = #{appType,jdbcType=TINYINT},
banner_status = #{bannerStatus,jdbcType=TINYINT},
start_time = #{startTime,jdbcType=VARCHAR},
end_time = #{endTime,jdbcType=VARCHAR},
create_tiem = #{createTiem,jdbcType=TIMESTAMP},
view_type = #{viewType,jdbcType=TINYINT},
where banner_id = #{bannerId,jdbcType=INTEGER}
update banner
set banner_name = #{bannerName,jdbcType=VARCHAR},
banner_pic = #{bannerPic,jdbcType=VARCHAR},
skip_type = #{skipType,jdbcType=TINYINT},
skip_uri = #{skipUri,jdbcType=VARCHAR},
seq_no = #{seqNo,jdbcType=INTEGER},
os_type = #{osType,jdbcType=TINYINT},
is_new_user = #{isNewUser,jdbcType=TINYINT},
app_type = #{appType,jdbcType=TINYINT},
banner_status = #{bannerStatus,jdbcType=TINYINT},
start_time = #{startTime,jdbcType=VARCHAR},
end_time = #{endTime,jdbcType=VARCHAR},
create_tiem = #{createTiem,jdbcType=TIMESTAMP},
view_type = #{viewType,jdbcType=TINYINT}
where banner_id = #{bannerId,jdbcType=INTEGER}
delete from banner
where banner_id = #{bannerId,jdbcType=INTEGER}