wangwei 7 vuotta sitten
vanhempi
commit
f42ea343cf
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      sql/云平台2.0升级-数据割接-基础信息.sql

+ 6 - 0
sql/云平台2.0升级-数据割接-基础信息.sql

@@ -0,0 +1,6 @@
+update ecs_core_user t set t.type='COMMON' where t.type='NOT_STUDENT';
+
+update ecs_core_org t set t.type='QMTH' where t.type='PRINT_QMTH';
+update ecs_core_org t set t.type='PRINTER' where t.type='PRINT_SUPPLIER';
+
+update ecs_core_org t set t.parent_id=null ,t.root_id=t.id where t.parent_id=0;