|  | @@ -1498,7 +1498,7 @@
 | 
											
												
													
														|  |      </select>
 |  |      </select>
 | 
											
												
													
														|  |      <select id="queryOrganList" resultType="com.ym.mec.biz.dal.dto.BaseMapDto">
 |  |      <select id="queryOrganList" resultType="com.ym.mec.biz.dal.dto.BaseMapDto">
 | 
											
												
													
														|  |          select o.id_ 'key',o.name_ 'value' from organization o
 |  |          select o.id_ 'key',o.name_ 'value' from organization o
 | 
											
												
													
														|  | -        left join (select CONCAT_WS(',',t.organ_id_,case when t.flow_organ_range_ = '' then null else t.flow_organ_range_ end) organ_id_ from mec_pro.teacher t
 |  | 
 | 
											
												
													
														|  | 
 |  | +        left join (select CONCAT_WS(',',t.organ_id_,case when t.flow_organ_range_ = '' then null else t.flow_organ_range_ end) organ_id_ from teacher t
 | 
											
												
													
														|  |          where t.id_ = #{userId} group by t.id_)c ON 1 = 1
 |  |          where t.id_ = #{userId} group by t.id_)c ON 1 = 1
 | 
											
												
													
														|  |          where FIND_IN_SET(o.id_,c.organ_id_)
 |  |          where FIND_IN_SET(o.id_,c.organ_id_)
 | 
											
												
													
														|  |      </select>
 |  |      </select>
 |