QUERY PLAN
Seq Scan on tbl_auth_items (cost=0.00..121.04 rows=287 width=250)
Filter: ((type = 2) AND ((name)::text = ANY ('{Guest,viewSalesChart,viewPreSalesChart,viewImplementChart,viewServicePlan,viewCalendar,viewClientAnalysis,viewClientMap,viewFootPrint,viewOtherFootPrint,viewSalesRepScore,viewContactAnalysis,viewPurchaseAnalysis,viewSchedule,createSchedule,updateSchedule,deleteSchedule,viewSource,createSource,updateSource,deleteSource,distributeSource,viewCalendarMng,createCalendarMng,updateCalendarMng,deleteCalendarMng,viewTask,createTask,updateTask,deleteTask,viewOtherTask,viewClient,createClient,updateClient,deleteClient,transferClient,createClientDocument,updateClientDocument,deleteClientDocument,createProjectDocument,updateProjectDocument,deleteProjectDocument,createCaseDocument,updateCaseDocument,deleteCaseDocument,exportClient,importClient,viewOperation,createOperation,updateOperation,deleteOperation,distributeContact,viewOtherOperation,viewClientContact,createClientContact,updateClientContact,deleteClientContact,viewContactInfo,viewWorkLog,createWorkLog,updateWorkLog,deleteWorkLog,viewProject,createProject,updateProject,deleteProject,viewCase,createCase,updateCase,deleteCase,closeCase,suspendCase,distributeCase,viewTicket,createTicket,updateTicket,deleteTicket,viewSalesOrder,createSalesOrder,updateSalesOrder,deleteSalesOrder,viewSalesContract,createSalesContract,updateSalesContract,deleteSalesContract,viewReimbursement,createReimbursement,updateReimbursement,deleteReimbursement,viewApprove,createApprove,updateApprove,deleteApprove,viewDocument,createDocument,updateDocument,deleteDocument,viewSupplier,createSupplier,updateSupplier,deleteSupplier,viewSupplierContact,createSupplierContact,updateSupplierContact,deleteSupplierContact,viewPurchaseContract,createPurchaseContract,updatePurchaseContract,deletePurchaseContract,viewProduct,createProduct,updateProduct,deleteProduct,manageProductCategory,viewService,createService,updateService,deleteService,viewPunch,createPunch,viewOtherPunch,viewAccount,createAccount,updateAccount,deleteAccount,changeAccountPassword,viewRating,createRating,updateRating,deleteRating,manageRating,manageSetting,lockClient,createSupplierDocument,updateSupplierDocument,deleteSupplierDocument,viewPunchApprove,createPunchApprove,updatePunchApprove,deletePunchApprove,visitSupplier,serviceProgress,changeProjectStatus3,changeProjectStatus4,changeProjectStatus5,viewReimbursementAnalysis,viewApproveAnalysis,viewTaxManagement,verifyInvoice,settleInvoice,makeProduct,createCostContract,updateCostContract,deleteCostContract,viewCostContract,viewProjectProduct,viewSaleContractProduct,viewErpPersonAnalysis,viewErpYearAnalysis,viewErpSalesGoal,viewErpProductAnalysis,viewErpSettle,saveErpSettle,viewSmartBoard,ViewSmartBoardSales,ViewSmartBoardAccount,ViewSmartBoardEngineer,viewErp,viewErpPurchaseOrder,updateErpPurchaseOrder,viewErpPurchaseInbound,createErpPurchaseInbound,updateErpPurchaseInbound,deleteErpPurchaseInbound,viewErpPurchaseReturn,createErpPurchaseReturn,updateErpPurchaseReturn,deleteErpPurchaseReturn,viewErpInventoryProduct,viewErpInventoryLost,createErpInventoryLost,updateErpInventoryLost,deleteErpInventoryLost,viewErpInventoryBuild,createErpInventoryBuild,updateErpInventoryBuild,deleteErpInventoryBuild,viewErpInventoryDisassemble,createErpInventoryDisassemble,updateErpInventoryDisassemble,deleteErpInventoryDisassemble,viewErpSalesOrder,updateErpSalesOrder,viewErpSalesOutbound,createErpSalesOutbound,updateErpSalesOutbound,deleteErpSalesOutbound,viewErpSalesReturn,createErpSalesReturn,updateErpSalesReturn,deleteErpSalesReturn,viewErpInventoryOverflow,createErpInventoryOverflow,updateErpInventoryOverflow,deleteErpInventoryOverflow,viewErpPurchaseGift,createErpPurchaseGift,updateErpPurchaseGift,deleteErpPurchaseGift,viewErpSalesGift,createErpSalesGift,updateErpSalesGift,deleteErpSalesGift,viewErpPaymentTicket,createErpPaymentTicket,updateErpPaymentTicket,deleteErpPaymentTicket,viewErpCollectTicket,createErpCollectTicket,updateErpCollectTicket,deleteErpCollectTicket,viewErpCostTicket,createErpCostTicket,updateErpCostTicket,deleteErpCostTicket,viewErpOtherIncomeTicket,createErpOtherIncomeTicket,updateErpOtherIncomeTicket,deleteErpOtherIncomeTicket,viewErpCostConvertTicket,createErpCostConvertTicket,updateErpCostConvertTicket,deleteErpCostConvertTicket,viewErpBankTransferTicket,createErpBankTransferTicket,updateErpBankTransferTicket,deleteErpBankTransferTicket,viewErpCashCostTicket,createErpCashCostTicket,updateErpCashCostTicket,deleteErpCashCostTicket,viewErpAdvancePaymentTicket,createErpAdvancePaymentTicket,updateErpAdvancePaymentTicket,deleteErpAdvancePaymentTicket,viewErpOtherPaymentTicket,createErpOtherPaymentTicket,updateErpOtherPaymentTicket,deleteErpOtherPaymentTicket,viewErpOtherCollectTicket,createErpOtherCollectTicket,updateErpOtherCollectTicket,deleteErpOtherCollectTicket,viewErpPurchaseCost,createErpPurchaseCost,updateErpPurchaseCost,deleteErpPurchaseCost,viewErpSocialInsurance,createErpSocialInsurance,updateErpSocialInsurance,deleteErpSocialInsurance,viewErpProvidentFund,createErpProvidentFund,updateErpProvidentFund,deleteErpProvidentFund,viewErpPersonalTax,createErpPersonalTax,updateErpPersonalTax,deleteErpPersonalTax,viewErpWagePrize,createErpWagePrize,updateErpWagePrize,deleteErpWagePrize,viewErpWageTicket,createErpWageTicket,updateErpWageTicket,deleteErpWageTicket,viewErpProfitDistribute,createErpProfitDistribute,updateErpProfitDistribute,deleteErpProfitDistribute,viewErpAsset,viewTicketLog,viewErpAnalysisBoss,viewErpAnalysisSalesCost,viewErpAnalysisWage,viewErpAnalysisAccount,viewErpAnalysisUnit,viewErpAnalysisClientCost,viewErpAnalysisBank,viewErpAnalysisUnCollect,viewErpAnalysisUnPayment,viewErpAnalysisProfitAndLoss,viewErpAnalysisInOut}'::text[])))