|
@@ -219,7 +219,7 @@
|
|
|
<select id="getAssessmentInspectionByClassIdList" parameterType="com.xjrsoft.module.student.dto.QuantitativeAssessmentSingleScoreDto" resultType="com.xjrsoft.module.student.vo.QuantitativeAssessmentSingleScoreVo">
|
|
<select id="getAssessmentInspectionByClassIdList" parameterType="com.xjrsoft.module.student.dto.QuantitativeAssessmentSingleScoreDto" resultType="com.xjrsoft.module.student.vo.QuantitativeAssessmentSingleScoreVo">
|
|
|
select
|
|
select
|
|
|
t.class_ids as class_id,
|
|
t.class_ids as class_id,
|
|
|
- sum(t.score) as sumScore
|
|
|
|
|
|
|
+ SUM(t.score * (LENGTH(personal_student_user_ids) - LENGTH(REPLACE(personal_student_user_ids, ',', '')) + 1)) AS sumScore
|
|
|
from base_student_assessment_inspection t
|
|
from base_student_assessment_inspection t
|
|
|
where t.delete_mark = 0
|
|
where t.delete_mark = 0
|
|
|
<if test="dto.classIdList != null and !dto.classIdList.isEmpty()">
|
|
<if test="dto.classIdList != null and !dto.classIdList.isEmpty()">
|