wangwei 7 éve
szülő
commit
327dcf4904
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      sql/云平台2.0升级-数据割接-基础信息.sql

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

@@ -3,4 +3,7 @@ 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;
+update ecs_core_org t set t.parent_id=null ,t.root_id=t.id where t.parent_id=0;
+
+--删除ecs_exam_student,ecs_core_user_role的外键 user_id
+DELETE  from ecs_core_user where type='STUDENT';