and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, member_id, name, phone_number, default_status, post_code, province, city, region,
detail_address
delete from ums_member_receive_address
where id = #{id,jdbcType=BIGINT}
delete from ums_member_receive_address
SELECT LAST_INSERT_ID()
insert into ums_member_receive_address (member_id, name, phone_number,
default_status, post_code, province,
city, region, detail_address
)
values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR},
#{defaultStatus,jdbcType=INTEGER}, #{postCode,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR}
)
SELECT LAST_INSERT_ID()
insert into ums_member_receive_address
member_id,
name,
phone_number,
default_status,
post_code,
province,
city,
region,
detail_address,
#{memberId,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR},
#{phoneNumber,jdbcType=VARCHAR},
#{defaultStatus,jdbcType=INTEGER},
#{postCode,jdbcType=VARCHAR},
#{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR},
#{region,jdbcType=VARCHAR},
#{detailAddress,jdbcType=VARCHAR},
update ums_member_receive_address
id = #{record.id,jdbcType=BIGINT},
member_id = #{record.memberId,jdbcType=BIGINT},
name = #{record.name,jdbcType=VARCHAR},
phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
default_status = #{record.defaultStatus,jdbcType=INTEGER},
post_code = #{record.postCode,jdbcType=VARCHAR},
province = #{record.province,jdbcType=VARCHAR},
city = #{record.city,jdbcType=VARCHAR},
region = #{record.region,jdbcType=VARCHAR},
detail_address = #{record.detailAddress,jdbcType=VARCHAR},
update ums_member_receive_address
set id = #{record.id,jdbcType=BIGINT},
member_id = #{record.memberId,jdbcType=BIGINT},
name = #{record.name,jdbcType=VARCHAR},
phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
default_status = #{record.defaultStatus,jdbcType=INTEGER},
post_code = #{record.postCode,jdbcType=VARCHAR},
province = #{record.province,jdbcType=VARCHAR},
city = #{record.city,jdbcType=VARCHAR},
region = #{record.region,jdbcType=VARCHAR},
detail_address = #{record.detailAddress,jdbcType=VARCHAR}
update ums_member_receive_address
member_id = #{memberId,jdbcType=BIGINT},
name = #{name,jdbcType=VARCHAR},
phone_number = #{phoneNumber,jdbcType=VARCHAR},
default_status = #{defaultStatus,jdbcType=INTEGER},
post_code = #{postCode,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
region = #{region,jdbcType=VARCHAR},
detail_address = #{detailAddress,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update ums_member_receive_address
set member_id = #{memberId,jdbcType=BIGINT},
name = #{name,jdbcType=VARCHAR},
phone_number = #{phoneNumber,jdbcType=VARCHAR},
default_status = #{defaultStatus,jdbcType=INTEGER},
post_code = #{postCode,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
region = #{region,jdbcType=VARCHAR},
detail_address = #{detailAddress,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}