摘要:
buildTree(data, id, pid) { let map = {}; data.forEach(function (item) { // map[item.id] = item; eval('map[item.' + id + '] = item;') //当前ID }); let va 阅读全文
摘要:
读取 group_id为4的所有下级 SELECT ID.level, DATA.* FROM( SELECT @ids as _ids, ( SELECT @ids := GROUP_CONCAT(group_id) FROM rbac_group WHERE FIND_IN_SET(parent 阅读全文