add resource memo & order by order_index
fix permission dao sql & add categoryName