shilin %!s(int64=4) %!d(string=hai) anos
pai
achega
1acae0870b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/mybatis/auto/GyeeorganMapper.xml

+ 1 - 1
src/main/resources/mybatis/auto/GyeeorganMapper.xml

@@ -233,7 +233,7 @@
   </update>
   
   <select id="queryOrganByUserId" parameterType="java.lang.String" resultType="com.gyee.frame.model.auto.Gyeeorgan">
-  	   select * from gyeeorgan go inner join gyeeuserorgan guo on go.id=guo.organid where guo.userid=#{userid,jdbcType=VARCHAR}
+  	   select * from gyeeorgan go inner join gyeeuserorgan guo on go.id=guo.organid where guo.userid=#{userid,jdbcType=VARCHAR} order by guo.organid
  </select>