id, order_id, address_type, `name`, `type`, contacts, phone, city_code, city_name,
detail_address, lat, lng, fence, entry_type, remark, `status`, create_by, create_time,
update_by, update_time, del_flag
delete from kwt_logistics_order_address
where id = #{id,jdbcType=BIGINT}
insert into kwt_logistics_order_address (id, order_id, address_type,
`name`, `type`, contacts,
phone, city_code, city_name,
detail_address, lat, lng,
fence, entry_type, remark,
`status`, create_by, create_time,
update_by, update_time, del_flag
)
values (#{id,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT}, #{addressType,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR}, #{type,jdbcType=BIGINT}, #{contacts,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR}, #{cityCode,jdbcType=INTEGER}, #{cityName,jdbcType=VARCHAR},
#{detailAddress,jdbcType=VARCHAR}, #{lat,jdbcType=VARCHAR}, #{lng,jdbcType=VARCHAR},
#{fence,jdbcType=VARCHAR}, #{entryType,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, #{createBy,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=INTEGER}
)
insert into kwt_logistics_order_address
id,
order_id,
address_type,
`name`,
`type`,
contacts,
phone,
city_code,
city_name,
detail_address,
lat,
lng,
fence,
entry_type,
remark,
`status`,
create_by,
create_time,
update_by,
update_time,
del_flag,
#{id,jdbcType=BIGINT},
#{orderId,jdbcType=BIGINT},
#{addressType,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR},
#{type,jdbcType=BIGINT},
#{contacts,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{cityCode,jdbcType=INTEGER},
#{cityName,jdbcType=VARCHAR},
#{detailAddress,jdbcType=VARCHAR},
#{lat,jdbcType=VARCHAR},
#{lng,jdbcType=VARCHAR},
#{fence,jdbcType=VARCHAR},
#{entryType,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=INTEGER},
update kwt_logistics_order_address
order_id = #{orderId,jdbcType=BIGINT},
address_type = #{addressType,jdbcType=INTEGER},
`name` = #{name,jdbcType=VARCHAR},
`type` = #{type,jdbcType=BIGINT},
contacts = #{contacts,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
city_code = #{cityCode,jdbcType=INTEGER},
city_name = #{cityName,jdbcType=VARCHAR},
detail_address = #{detailAddress,jdbcType=VARCHAR},
lat = #{lat,jdbcType=VARCHAR},
lng = #{lng,jdbcType=VARCHAR},
fence = #{fence,jdbcType=VARCHAR},
entry_type = #{entryType,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update kwt_logistics_order_address
set order_id = #{orderId,jdbcType=BIGINT},
address_type = #{addressType,jdbcType=INTEGER},
`name` = #{name,jdbcType=VARCHAR},
`type` = #{type,jdbcType=BIGINT},
contacts = #{contacts,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
city_code = #{cityCode,jdbcType=INTEGER},
city_name = #{cityName,jdbcType=VARCHAR},
detail_address = #{detailAddress,jdbcType=VARCHAR},
lat = #{lat,jdbcType=VARCHAR},
lng = #{lng,jdbcType=VARCHAR},
fence = #{fence,jdbcType=VARCHAR},
entry_type = #{entryType,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}