|
|
@ -71,7 +71,7 @@ |
|
|
|
ter.reportId, |
|
|
|
ter.reportId, |
|
|
|
tpr.recordId, |
|
|
|
tpr.recordId, |
|
|
|
tpr.projectId, |
|
|
|
tpr.projectId, |
|
|
|
projectName, |
|
|
|
tp.projectName, |
|
|
|
score, |
|
|
|
score, |
|
|
|
timeSum, |
|
|
|
timeSum, |
|
|
|
startingTime as startTime, |
|
|
|
startingTime as startTime, |
|
|
@ -83,7 +83,6 @@ |
|
|
|
LEFT JOIN tms_experimental_teaching tet ON tet.project_id = tpr.projectId |
|
|
|
LEFT JOIN tms_experimental_teaching tet ON tet.project_id = tpr.projectId |
|
|
|
LEFT JOIN tms_experimental_report ter ON ter.projectId = tet.id |
|
|
|
LEFT JOIN tms_experimental_report ter ON ter.projectId = tet.id |
|
|
|
WHERE tpr.userId = #{pro.userid} |
|
|
|
WHERE tpr.userId = #{pro.userid} |
|
|
|
-- 教师端逻辑删除,学生端不做判断(下面这行删掉报错,用>=来表示不管0,1都让通过) |
|
|
|
|
|
|
|
AND tpr.isdel >= #{pro.isdel} |
|
|
|
AND tpr.isdel >= #{pro.isdel} |
|
|
|
AND tp.projectPermissions !=0 |
|
|
|
AND tp.projectPermissions !=0 |
|
|
|
AND |
|
|
|
AND |
|
|
|