Commit ba82e066 authored by tianbo's avatar tianbo

refactor(amos-boot-system-tzs): 优化企业信息更新 SQL- 移除了冗余的字段更新语句

parent 8543bc1f
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
<update id="updateRedundantSupervisionOrgCodeUnit"> <update id="updateRedundantSupervisionOrgCodeUnit">
update tz_base_enterprise_info update tz_base_enterprise_info
set supervise_org_code = replace(supervise_org_code, #{oldOrgCode}, #{newOrgCode}), supervise_org_name = #{newOrgName}, governing_body = #{newOrgName} set supervise_org_code = replace(supervise_org_code, #{oldOrgCode}, #{newOrgCode})
where supervise_org_code like concat(#{oldOrgCode}, '%'); where supervise_org_code like concat(#{oldOrgCode}, '%');
update tz_base_enterprise_info update tz_base_enterprise_info
set org_code = replace(org_code, #{oldOrgCode}, #{newOrgCode}) set org_code = replace(org_code, #{oldOrgCode}, #{newOrgCode})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment