Răsfoiți Sursa

BUG对应

git-svn-id: https://192.168.57.71/svn/jsgkj@1260 931142cf-59ea-a443-aa0e-51397b428577
ld_zhouk 8 ani în urmă
părinte
comite
6a14bf0f30

+ 1 - 0
gkaqv2/trunk/modules/frame/src/main/resources/com/xt/js/gkaq/frame/mappers/OrgModelMapper.xml

@@ -91,6 +91,7 @@
     <if test="pid != null and pid != ''">
         start with ID = #{pid,jdbcType=VARCHAR} connect by prior ID = PID
     </if>
+    order by PID desc, SORTNO
   </select>
   <select id="selectAllByCond" resultMap="BaseResultMap" parameterType="com.xt.js.gkaq.frame.model.OrgModelDto" >
   	<bind name="STATE_DEL" value="@com.xt.js.gkaq.common.BaseUUIDModel@STATE_DELETE"/>