id, code, name, parentcode, type
delete from district
where id = #{id,jdbcType=BIGINT}
update district
code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
parentcode = #{parentcode,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update district
set code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
parentcode = #{parentcode,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}