修改实验人数bug

hehai
jiakun.lin 4 years ago
parent 3f4facffba
commit 5650dea6d7
  1. 14
      src/main/resources/mapper/tms/ExperimentalTeachingDao.xml

@ -55,7 +55,19 @@
experimental_name,
project_id,
project_name,
( SELECT count( * ) FROM tms_project_record WHERE projectId = project_id AND tms_project_record.isdel = 0 ) AS experimental_number,
(
SELECT
count( * )
FROM
tms_project_record tpr,
tms_experimental_report ter
WHERE
tpr.projectId = t.project_id
AND ter.eventId = tpr.recordId
AND ter.projectId = t.id
AND tpr.isdel = 0
AND ter.isdel = 0
) AS experimental_number,
experiment_duration,
type,
start_time,

Loading…
Cancel
Save