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