def getManagerNames(self, num): query = "select fullname from managers order by fullname asc" if (num == 1): return DBUtils.getAsList(self._conn, query) else: return DBUtils.getAsList2(self._conn, query)
def getRoleNames(self, num): query = "select rolename from roles order by rolename asc" if (num == 1): return DBUtils.getAsList(self._conn, query) else: return DBUtils.getAsList2(self._conn, query)