1 changed files with 49 additions and 0 deletions
@ -0,0 +1,49 @@ |
|||
-- 服务事项从需求分类字典表中抽离出来了,对应历史数据修改如下 |
|||
-- 1、联建单位的服务事项置空 |
|||
update ic_party_unit set SERVICE_MATTER =''; |
|||
-- 2、联建活动的服务事项修改为新的编码 |
|||
update ic_party_activity set SERVICE_MATTER='1006' where SERVICE_MATTER = '10100006'; |
|||
update ic_party_activity set SERVICE_MATTER='1008' where SERVICE_MATTER = '10100008'; |
|||
update ic_party_activity set SERVICE_MATTER='1002' where SERVICE_MATTER = '10100002'; |
|||
update ic_party_activity set SERVICE_MATTER='1009' where SERVICE_MATTER = '10100009'; |
|||
update ic_party_activity set SERVICE_MATTER='1017' where SERVICE_MATTER = '10100017'; |
|||
update ic_party_activity set SERVICE_MATTER='1021' where SERVICE_MATTER = '10100021'; |
|||
update ic_party_activity set SERVICE_MATTER='1015' where SERVICE_MATTER = '10100015'; |
|||
update ic_party_activity set SERVICE_MATTER='1011' where SERVICE_MATTER = '10100011'; |
|||
update ic_party_activity set SERVICE_MATTER='1018' where SERVICE_MATTER = '10100018'; |
|||
update ic_party_activity set SERVICE_MATTER='1005' where SERVICE_MATTER = '10100005'; |
|||
update ic_party_activity set SERVICE_MATTER='1010' where SERVICE_MATTER = '10100010'; |
|||
update ic_party_activity set SERVICE_MATTER='1003' where SERVICE_MATTER = '10100003'; |
|||
update ic_party_activity set SERVICE_MATTER='1020' where SERVICE_MATTER = '10100020'; |
|||
update ic_party_activity set SERVICE_MATTER='1022' where SERVICE_MATTER = '10100022'; |
|||
update ic_party_activity set SERVICE_MATTER='1014' where SERVICE_MATTER = '10100014'; |
|||
update ic_party_activity set SERVICE_MATTER='1007' where SERVICE_MATTER = '10100007'; |
|||
update ic_party_activity set SERVICE_MATTER='1001' where SERVICE_MATTER = '10100001'; |
|||
update ic_party_activity set SERVICE_MATTER='1004' where SERVICE_MATTER = '10100004'; |
|||
update ic_party_activity set SERVICE_MATTER='1016' where SERVICE_MATTER = '10100016'; |
|||
update ic_party_activity set SERVICE_MATTER='1013' where SERVICE_MATTER = '10100013'; |
|||
update ic_party_activity set SERVICE_MATTER='1012' where SERVICE_MATTER = '10100012'; |
|||
update ic_party_activity set SERVICE_MATTER='1019' where SERVICE_MATTER = '10100019'; |
|||
-- 3、爱心互助-活动类型为联建活动,对应的服务事项编码改为新的 |
|||
update act_info set SERVICE_MATTER='1006' where ACT_TYPE='party' and SERVICE_MATTER='10100006' ; |
|||
update act_info set SERVICE_MATTER='1008' where ACT_TYPE='party' and SERVICE_MATTER='10100008' ; |
|||
update act_info set SERVICE_MATTER='1002' where ACT_TYPE='party' and SERVICE_MATTER='10100002' ; |
|||
update act_info set SERVICE_MATTER='1009' where ACT_TYPE='party' and SERVICE_MATTER='10100009' ; |
|||
update act_info set SERVICE_MATTER='1017' where ACT_TYPE='party' and SERVICE_MATTER='10100017' ; |
|||
update act_info set SERVICE_MATTER='1021' where ACT_TYPE='party' and SERVICE_MATTER='10100021' ; |
|||
update act_info set SERVICE_MATTER='1015' where ACT_TYPE='party' and SERVICE_MATTER='10100015' ; |
|||
update act_info set SERVICE_MATTER='1011' where ACT_TYPE='party' and SERVICE_MATTER='10100011' ; |
|||
update act_info set SERVICE_MATTER='1018' where ACT_TYPE='party' and SERVICE_MATTER='10100018' ; |
|||
update act_info set SERVICE_MATTER='1005' where ACT_TYPE='party' and SERVICE_MATTER='10100005' ; |
|||
update act_info set SERVICE_MATTER='1010' where ACT_TYPE='party' and SERVICE_MATTER='10100010' ; |
|||
update act_info set SERVICE_MATTER='1003' where ACT_TYPE='party' and SERVICE_MATTER='10100003' ; |
|||
update act_info set SERVICE_MATTER='1020' where ACT_TYPE='party' and SERVICE_MATTER='10100020' ; |
|||
update act_info set SERVICE_MATTER='1022' where ACT_TYPE='party' and SERVICE_MATTER='10100022' ; |
|||
update act_info set SERVICE_MATTER='1014' where ACT_TYPE='party' and SERVICE_MATTER='10100014' ; |
|||
update act_info set SERVICE_MATTER='1007' where ACT_TYPE='party' and SERVICE_MATTER='10100007' ; |
|||
update act_info set SERVICE_MATTER='1001' where ACT_TYPE='party' and SERVICE_MATTER='10100001' ; |
|||
update act_info set SERVICE_MATTER='1004' where ACT_TYPE='party' and SERVICE_MATTER='10100004' ; |
|||
update act_info set SERVICE_MATTER='1016' where ACT_TYPE='party' and SERVICE_MATTER='10100016' ; |
|||
update act_info set SERVICE_MATTER='1013' where ACT_TYPE='party' and SERVICE_MATTER='10100013' ; |
|||
update act_info set SERVICE_MATTER='1012' where ACT_TYPE='party' and SERVICE_MATTER='10100012' ; |
|||
update act_info set SERVICE_MATTER='1019' where ACT_TYPE='party' and SERVICE_MATTER='10100019' ; |
Loading…
Reference in new issue