complete the method of queryById in IncomeDaoImpl