|
@@ -97,7 +97,7 @@
|
|
|
AND nazw_school.location LIKE CONCAT('%', #{location}, '%')
|
|
|
</if>
|
|
|
<if test="department != null and department != ''">
|
|
|
- AND nazw_school.competent_department = #{department}
|
|
|
+ AND nazw_school.competent_department LIKE CONCAT('%', #{department}, '%')
|
|
|
</if>
|
|
|
<if test="schoolType != null">
|
|
|
AND nazw_school.school_type = #{schoolType}
|
|
@@ -132,7 +132,7 @@
|
|
|
AND nazw_school.location LIKE CONCAT('%', #{location}, '%')
|
|
|
</if>
|
|
|
<if test="department != null and department != ''">
|
|
|
- AND nazw_school.competent_department = #{department}
|
|
|
+ AND nazw_school.competent_department LIKE CONCAT('%', #{department}, '%')
|
|
|
</if>
|
|
|
<if test="schoolType != null">
|
|
|
AND nazw_school.school_type = #{schoolType}
|