|
|
@ -55,7 +55,19 @@ |
|
|
|
experimental_name, |
|
|
|
experimental_name, |
|
|
|
project_id, |
|
|
|
project_id, |
|
|
|
project_name, |
|
|
|
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, |
|
|
|
experiment_duration, |
|
|
|
type, |
|
|
|
type, |
|
|
|
start_time, |
|
|
|
start_time, |
|
|
|