We investigate the two-dimensional t-J model by the Green function approach with the Hubbard operator.The phase diagram,including the Neel temperature and the superconducting transition temperature simultaneously,is derived.The results are consistent with experiments of cuprate compounds.