摘要:
Array类型并没有提供去重复的方法,如果要把数组的重复元素干掉,那得自己想办法: 1 function unique(arr) { 2 var result = [], isRepeated; 3 for (var i = 0, len = arr.length; i < len;... 阅读全文
摘要:
select * from IpResourceInfo awhere find_in_set(a.id,(SELECT group_concat(CAST(resourcesid AS char)) ssFROM ipmanage_smh.RoleResourceswhere roleid='7b... 阅读全文