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, address_name, send_status, receive_status, name, phone, province, city, region
delete from oms_company_address
where id = #{id,jdbcType=BIGINT}
delete from oms_company_address
SELECT LAST_INSERT_ID()
insert into oms_company_address (address_name, send_status, receive_status,
name, phone, province,
city, region)
values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into oms_company_address
address_name,
send_status,
receive_status,
name,
phone,
province,
city,
region,
#{addressName,jdbcType=VARCHAR},
#{sendStatus,jdbcType=INTEGER},
#{receiveStatus,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR},
#{region,jdbcType=VARCHAR},
update oms_company_address
id = #{record.id,jdbcType=BIGINT},
address_name = #{record.addressName,jdbcType=VARCHAR},
send_status = #{record.sendStatus,jdbcType=INTEGER},
receive_status = #{record.receiveStatus,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
province = #{record.province,jdbcType=VARCHAR},
city = #{record.city,jdbcType=VARCHAR},
region = #{record.region,jdbcType=VARCHAR},
update oms_company_address
set id = #{record.id,jdbcType=BIGINT},
address_name = #{record.addressName,jdbcType=VARCHAR},
send_status = #{record.sendStatus,jdbcType=INTEGER},
receive_status = #{record.receiveStatus,jdbcType=INTEGER},
name = #{record.name,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
province = #{record.province,jdbcType=VARCHAR},
city = #{record.city,jdbcType=VARCHAR},
region = #{record.region,jdbcType=VARCHAR}
update oms_company_address
address_name = #{addressName,jdbcType=VARCHAR},
send_status = #{sendStatus,jdbcType=INTEGER},
receive_status = #{receiveStatus,jdbcType=INTEGER},
name = #{name,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
region = #{region,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update oms_company_address
set address_name = #{addressName,jdbcType=VARCHAR},
send_status = #{sendStatus,jdbcType=INTEGER},
receive_status = #{receiveStatus,jdbcType=INTEGER},
name = #{name,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
region = #{region,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}