|
@@ -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';
|