|
|
@ -412,12 +412,20 @@ |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="newList" resultType="com.msdw.tms.entity.ResultsEntity"> |
|
|
|
<select id="newList" resultType="com.msdw.tms.entity.ResultsEntity"> |
|
|
|
SELECT et.id,et.experimental_class_name as experimentalClassName,et.experimental_name as |
|
|
|
SELECT |
|
|
|
experimentalName,et.project_id as projectId, |
|
|
|
et.id, |
|
|
|
pm.projectName,pm.projectPermissions,et.creation_time as creationTime,(SELECT count(*) FROM |
|
|
|
et.experimental_class_name AS experimentalClassName, |
|
|
|
tms_project_record her where et.project_id = her.projectId and her.isdel = 0 ) as number |
|
|
|
et.experimental_name AS experimentalName, |
|
|
|
FROM tms_experimental_teaching et,hr_project_management pm |
|
|
|
et.project_id AS projectId, |
|
|
|
WHERE user_id = #{userId} |
|
|
|
pm.projectName, |
|
|
|
|
|
|
|
pm.projectPermissions, |
|
|
|
|
|
|
|
et.creation_time AS creationTime, |
|
|
|
|
|
|
|
( SELECT count( * ) FROM tms_experimental_report her WHERE et.id = her.projectId AND her.isdel = 0 ) AS number |
|
|
|
|
|
|
|
FROM |
|
|
|
|
|
|
|
tms_experimental_teaching et, |
|
|
|
|
|
|
|
hr_project_management pm |
|
|
|
|
|
|
|
WHERE |
|
|
|
|
|
|
|
user_id = #{userId} |
|
|
|
AND et.project_id = pm.projectId |
|
|
|
AND et.project_id = pm.projectId |
|
|
|
AND pm.isdel = 0 |
|
|
|
AND pm.isdel = 0 |
|
|
|
<if test="searchContant!=null and searchContant!=''">and et.experimental_class_name like |
|
|
|
<if test="searchContant!=null and searchContant!=''">and et.experimental_class_name like |
|
|
|