|
|
@ -239,27 +239,34 @@ |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="queryAchievementByAssessment" resultType="com.msdw.tms.entity.request.ImportAssessmentRequest" |
|
|
|
<select id="queryAchievementByAssessment" resultType="com.msdw.tms.entity.request.ImportAssessmentRequest"> |
|
|
|
parameterType="java.lang.Integer"> |
|
|
|
|
|
|
|
SELECT schoolName, |
|
|
|
SELECT schoolName, |
|
|
|
experimental_class_name, |
|
|
|
experimental_class_name, |
|
|
|
userName, |
|
|
|
userName, |
|
|
|
workNumber, |
|
|
|
workNumber, |
|
|
|
r.score, |
|
|
|
r.score, |
|
|
|
r.recordId, |
|
|
|
r.recordId, |
|
|
|
report.reportId, |
|
|
|
report.reportId, |
|
|
|
r.submitTime, |
|
|
|
r.submitTime, |
|
|
|
stu.studentId, |
|
|
|
stu.studentId, |
|
|
|
t.id AS projectId, |
|
|
|
t.id AS projectId, |
|
|
|
experimental_name AS experimentalName |
|
|
|
experimental_name AS experimentalName |
|
|
|
FROM tms_experimental_teaching t |
|
|
|
FROM tms_experimental_teaching t |
|
|
|
INNER JOIN tms_experimental_report report ON report.projectId = t.id |
|
|
|
INNER JOIN tms_experimental_report report ON report.projectId = t.id |
|
|
|
INNER JOIN tms_project_record r ON r.recordId = report.eventId |
|
|
|
INNER JOIN tms_project_record r ON r.recordId = report.eventId |
|
|
|
INNER JOIN hr_user_info u ON u.userId = r.userId |
|
|
|
INNER JOIN hr_user_info u ON u.userId = r.userId |
|
|
|
INNER JOIN school s ON s.schoolId = u.schoolId |
|
|
|
INNER JOIN school s ON s.schoolId = u.schoolId |
|
|
|
INNER JOIN student stu ON stu.userId = u.userId |
|
|
|
INNER JOIN student stu ON stu.userId = u.userId |
|
|
|
WHERE t.id = #{id} |
|
|
|
WHERE |
|
|
|
AND report.isdel = 0 |
|
|
|
<if test="ids.size()>0"> |
|
|
|
|
|
|
|
r.recordId IN ( |
|
|
|
|
|
|
|
<foreach collection="ids" separator="," item="recordId"> |
|
|
|
|
|
|
|
#{recordId} |
|
|
|
|
|
|
|
</foreach> |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AND report.isdel = 0 |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="queryFictitiousRecord" resultType="com.msdw.tms.entity.vo.AchievementManagementVO"> |
|
|
|
<select id="queryFictitiousRecord" resultType="com.msdw.tms.entity.vo.AchievementManagementVO"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|