The invention provides tungsten carbide spraying equipment with both grinding and surface defect repair functions. The equipment comprises a base, a shell, a protective cover, a collecting frame, a collecting groove, a roller shaping frame structure, a cylinder, an arc surface polishing frame structure, a guide rail, an adjustable spraying fun fixing frame structure, a machining cleaning frame structure, a Y-shaped frame, a drive motor, a driving wheel, a driven wheel and a to-be-machined roller. The shell is in bolt connection with the upper portion of the base. The protective cover is in hinged connection with the left side inside the shell. The collecting frame is in bolt connection with the middle of the upper portion of the base. The equipment has the beneficial effects that by arranging the roller, a polishing motor, a rotating roller, a brush and a polishing belt, the surface of the to-be-machined roller is polished and ground conveniently, the polishing motor drives the rollerto rotate, the surface of the to-be-machined roller is ground through the grinding belt, and meanwhile unmolten tungsten carbide powder remaining at the corners of the front and back ends of the to-be-machined roller is cleaned thoroughly through the brush.