dyh_sy_region_by
id,
third_code,
third_name,
third_parent_id,
region_id,
level
third_code = #{entity.thirdCode},third_name = #{entity.thirdName},third_parent_id = #{entity.thirdParentId},region_id = #{entity.regionId},level = #{entity.level}
and id = #{terms.id}
and third_code = #{terms.thirdCode}
and third_name = #{terms.thirdName}
and third_parent_id = #{terms.thirdParentId}
and region_id = #{terms.regionId}
and level = #{terms.level}
update
id = #{entity.id}
update
delete from
where id = #{id}