@ -51,6 +51,12 @@
<foreach item="id" collection="listStr" open="(" separator="," close=")" index="">
#{id}
</foreach>
ORDER BY field(
id,
<foreach item="id" collection="listStr" separator=",">
)<!-- 按照foreach中遍历的Id顺序排序(按组织机构自上而下排序) -->
</select>
<select id="selectSubAgencyById" resultType="com.epmet.dto.result.SubListResultDTO">