Explorar o código

Merge remote-tracking branch 'origin/develop-yellow' into develop2

eganwu hai 1 ano
pai
achega
224cf1c6ce
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/custom/restcontroller/system/dataauth/dataauth.java

+ 1 - 0
src/custom/restcontroller/system/dataauth/dataauth.java

@@ -79,6 +79,7 @@ public class dataauth extends Controller {
         }
         dbConnect.runSqlUpdate(sqlList);
 
+        roleids.add(-1L);
         if (roleids.size() > 0) {
             DeleteSQL deleteSQL = SQLFactory.createDeleteSQL(this, "sys_dataauths");
             deleteSQL.setSiteid(siteid);