Sfoglia il codice sorgente

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

eganwu 1 anno fa
parent
commit
224cf1c6ce
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);