表列名冲突

hehai
jiakun.lin 4 years ago
parent 488bd840e1
commit cd9da476d3
  1. 3
      src/main/resources/mapper/tms/ProjectRecordDao.xml

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

Loading…
Cancel
Save