Commit 5f27f44a by songzhenmin

fix:科室排序调整

parent c144e9f0
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
sys_subject o sys_subject o
WHERE WHERE
o.state =1 and parent_id<![CDATA[ <> ]]>0 o.state =1 and parent_id<![CDATA[ <> ]]>0
ORDER BY CONVERT(o.ORG_NAME USING gbk) asc
</select> </select>
<select id="selectAll" resultMap="BaseResultMap"> <select id="selectAll" resultMap="BaseResultMap">
select ID, select ID,
...@@ -119,6 +120,7 @@ ...@@ -119,6 +120,7 @@
and o.PARENT_ID = #{orgId,jdbcType=DECIMAL} and o.PARENT_ID = #{orgId,jdbcType=DECIMAL}
</if> </if>
and rs.USER_ID = #{userId,jdbcType=DECIMAL} and rs.USER_ID = #{userId,jdbcType=DECIMAL}
order by CONVERT(o.ORG_NAME USING gbk) asc
</select> </select>
<select id="selectDeptByDisease" resultMap="SummaryDept"> <select id="selectDeptByDisease" resultMap="SummaryDept">
select DISTINCT o.ID,o.ORG_CODE as KSBM,o.ORG_NAME as KSMC,o.ORG_SHORT_NAME as KSJC select DISTINCT o.ID,o.ORG_CODE as KSBM,o.ORG_NAME as KSMC,o.ORG_SHORT_NAME as KSJC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment