seq_id, ip_start_addr, ip_end_addr, ip_addr_range, ip_start_string, ip_end_string,
port, isp_id, area_id, flag, description, yl1, yl2
delete from src_ip
where seq_id = #{seqId,jdbcType=INTEGER}
insert into src_ip (seq_id, ip_start_addr, ip_end_addr,
ip_addr_range, ip_start_string, ip_end_string,
port, isp_id, area_id,
flag, description, yl1,
yl2)
values (#{seqId,jdbcType=INTEGER}, #{ipStartAddr,jdbcType=INTEGER}, #{ipEndAddr,jdbcType=INTEGER},
#{ipAddrRange,jdbcType=INTEGER}, #{ipStartString,jdbcType=VARCHAR}, #{ipEndString,jdbcType=VARCHAR},
#{port,jdbcType=INTEGER}, #{ispId,jdbcType=BIGINT}, #{areaId,jdbcType=BIGINT},
#{flag,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}, #{yl1,jdbcType=INTEGER},
#{yl2,jdbcType=VARCHAR})
insert into src_ip
seq_id,
ip_start_addr,
ip_end_addr,
ip_addr_range,
ip_start_string,
ip_end_string,
port,
isp_id,
area_id,
flag,
description,
yl1,
yl2,
#{seqId,jdbcType=INTEGER},
#{ipStartAddr,jdbcType=INTEGER},
#{ipEndAddr,jdbcType=INTEGER},
#{ipAddrRange,jdbcType=INTEGER},
#{ipStartString,jdbcType=VARCHAR},
#{ipEndString,jdbcType=VARCHAR},
#{port,jdbcType=INTEGER},
#{ispId,jdbcType=BIGINT},
#{areaId,jdbcType=BIGINT},
#{flag,jdbcType=INTEGER},
#{description,jdbcType=VARCHAR},
#{yl1,jdbcType=INTEGER},
#{yl2,jdbcType=VARCHAR},
update src_ip
ip_start_addr = #{ipStartAddr,jdbcType=INTEGER},
ip_end_addr = #{ipEndAddr,jdbcType=INTEGER},
ip_addr_range = #{ipAddrRange,jdbcType=INTEGER},
ip_start_string = #{ipStartString,jdbcType=VARCHAR},
ip_end_string = #{ipEndString,jdbcType=VARCHAR},
port = #{port,jdbcType=INTEGER},
isp_id = #{ispId,jdbcType=BIGINT},
area_id = #{areaId,jdbcType=BIGINT},
flag = #{flag,jdbcType=INTEGER},
description = #{description,jdbcType=VARCHAR},
yl1 = #{yl1,jdbcType=INTEGER},
yl2 = #{yl2,jdbcType=VARCHAR},
where seq_id = #{seqId,jdbcType=INTEGER}
update src_ip
set ip_start_addr = #{ipStartAddr,jdbcType=INTEGER},
ip_end_addr = #{ipEndAddr,jdbcType=INTEGER},
ip_addr_range = #{ipAddrRange,jdbcType=INTEGER},
ip_start_string = #{ipStartString,jdbcType=VARCHAR},
ip_end_string = #{ipEndString,jdbcType=VARCHAR},
port = #{port,jdbcType=INTEGER},
isp_id = #{ispId,jdbcType=BIGINT},
area_id = #{areaId,jdbcType=BIGINT},
flag = #{flag,jdbcType=INTEGER},
description = #{description,jdbcType=VARCHAR},
yl1 = #{yl1,jdbcType=INTEGER},
yl2 = #{yl2,jdbcType=VARCHAR}
where seq_id = #{seqId,jdbcType=INTEGER}