wangwei 7 年之前
父节点
当前提交
f42ea343cf
共有 1 个文件被更改,包括 6 次插入0 次删除
  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;