select t1.*,t1.id as value,t1.category_name as label,(select t2.category_name from epdc_module_category t2 where t2.id=t1.pid)parentName from epdc_module_category t1
where t1.del_flag = '0' and t1.ENABLE_FLAG = '1' and CATEGORY_TYPE != 'module_category_type_button'