|
|
@@ -51,7 +51,7 @@
|
|
|
ON ws.college_id = wo.id AND wo.deleted = 0
|
|
|
WHERE
|
|
|
ws.deleted = 0
|
|
|
- AND ws.iden_type=1
|
|
|
+ AND ws.iden_type=1
|
|
|
GROUP BY
|
|
|
college_id
|
|
|
</select>
|
|
|
@@ -67,7 +67,7 @@
|
|
|
traffic_method
|
|
|
</select>
|
|
|
<select id="studentSexRatio" resultType="com.template.model.vo.StudentSexRatioVo">
|
|
|
- SELECT wo.`name` as collegeName,
|
|
|
+ SELECT wo.`name` as collegeName,
|
|
|
new.count AS manCount,
|
|
|
new2.count AS girlCount
|
|
|
FROM `welcome_student` w
|
|
|
@@ -93,7 +93,8 @@
|
|
|
college_id) new2 ON w.college_id = new2.collegeId
|
|
|
LEFT JOIN welcome_org wo ON w.college_id = wo.id
|
|
|
AND wo.deleted = 0
|
|
|
- WHERE w.iden_type = 1
|
|
|
+ WHERE w.deleted = 0
|
|
|
+ and w.iden_type = 1
|
|
|
GROUP BY w.college_id
|
|
|
</select>
|
|
|
</mapper>
|