|
@@ -95,6 +95,9 @@ month_ = #{month},
|
|
FROM student_operating_visit sov
|
|
FROM student_operating_visit sov
|
|
left join organization o on sov.organ_id_ = o.id_
|
|
left join organization o on sov.organ_id_ = o.id_
|
|
WHERE sov.month_ = #{month}
|
|
WHERE sov.month_ = #{month}
|
|
|
|
+ <if test="tenantId != null">
|
|
|
|
+ AND o.tenant_id_ = #{tenantId}
|
|
|
|
+ </if>
|
|
group by sov.organ_id_
|
|
group by sov.organ_id_
|
|
</select>
|
|
</select>
|
|
</mapper>
|
|
</mapper>
|