2 커밋 621801234f ... 1cef3cd711

작성자 SHA1 메시지 날짜
  eganwu 1cef3cd711 Merge remote-tracking branch 'origin/develop' into develop2 10 달 전
  eganwu 9001bcd2ed 更新jar 10 달 전
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/custom/restcontroller/webmanage/role/SQL/应用授权选择.sql
  2. 2 0
      src/custom/restcontroller/webmanage/role/role.java

+ 2 - 1
src/custom/restcontroller/webmanage/role/SQL/应用授权选择.sql

@@ -5,4 +5,5 @@ from sys_system t1
          inner join sys_systemapp t4 on t3.systemmoduleid = t4.systemmoduleid and t4.isused = 1 and t4.isneedauth = 1
 where t1.isused = 1
   and $where$
-  and exists(select optionid from sys_systemapp_options where systemappid = t4.systemappid)
+  and exists(select optionid from sys_systemapp_options where systemappid = t4.systemappid)
+ and t4.systemappid in $systemappid$

+ 2 - 0
src/custom/restcontroller/webmanage/role/role.java

@@ -1,5 +1,6 @@
 package restcontroller.webmanage.role;
 
+import beans.version.Version;
 import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
 import common.Controller;
@@ -220,6 +221,7 @@ public class role extends Controller {
         }
         SQLFactory appselectsql = new SQLFactory(this, "应用授权选择", pageSize, pageNumber, pageSorting);
         appselectsql.addParameter_SQL("where", where);
+        appselectsql.addParameter_in("systemappid",  Version.getApps(this));
         Rows approws = dbConnect.runSqlQuery(appselectsql);
         return getSucReturnObject().setData(approws).toString();
     }