修改sql
This commit is contained in:
parent
d4f0b78154
commit
53b7af2431
@ -9,7 +9,7 @@ SET lesson.org_id = ou.org_id
|
|||||||
WHERE
|
WHERE
|
||||||
lesson.creator_id = ou.user_id
|
lesson.creator_id = ou.user_id
|
||||||
AND ou.role = 'Admin'
|
AND ou.role = 'Admin'
|
||||||
AND lesson.sysFault = 0
|
AND lesson.sysFault = 0;
|
||||||
|
|
||||||
-- 考试表添加字段
|
-- 考试表添加字段
|
||||||
ALTER TABLE `exam_definition`
|
ALTER TABLE `exam_definition`
|
||||||
@ -22,4 +22,4 @@ SET exam.org_id = ou.org_id
|
|||||||
WHERE
|
WHERE
|
||||||
exam.creator_id = ou.user_id
|
exam.creator_id = ou.user_id
|
||||||
AND ou.role = 'Admin'
|
AND ou.role = 'Admin'
|
||||||
AND exam.system = 0
|
AND exam.system = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user