id, certificatecode, province, city, district, validflag
delete from transportcertificateapproach
where id = #{id,jdbcType=BIGINT}
update transportcertificateapproach
set validflag = 0
where certificatecode= #{code}
insert into transportcertificateapproach (id, certificatecode, province,
city, district, validflag
)
values (#{id,jdbcType=BIGINT}, #{certificatecode,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR}, #{district,jdbcType=VARCHAR}, #{validflag,jdbcType=BIT}
)
insert into transportcertificateapproach
id,
certificatecode,
province,
city,
district,
validflag,
#{id,jdbcType=BIGINT},
#{certificatecode,jdbcType=VARCHAR},
#{province,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR},
#{district,jdbcType=VARCHAR},
#{validflag,jdbcType=BIT},
update transportcertificateapproach
certificatecode = #{certificatecode,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
district = #{district,jdbcType=VARCHAR},
validflag = #{validflag,jdbcType=BIT},
where id = #{id,jdbcType=BIGINT}
update transportcertificateapproach
set certificatecode = #{certificatecode,jdbcType=VARCHAR},
province = #{province,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
district = #{district,jdbcType=VARCHAR},
validflag = #{validflag,jdbcType=BIT}
where id = #{id,jdbcType=BIGINT}