The invention provides a pump body structure of a rotary cylinder piston compressor and the rotary cylinder piston compressor. The pump body structure of the rotary cylinder piston compressor comprises an air cylinder, at least one outer circle matching structure and an oil guide groove, wherein the air cylinder comprises a cylinder body and a convex shaft which extends out outwards from at leastone end of the cylinder body, a rotating shaft mounting hole and at least one oil guide hole are formed in the convex shaft, and the oil guide hole penetrates through the side wall of the convex shaftand communicates with the rotating shaft mounting hole; the at least one outer circle matching structure is arranged at the at least one end of the air cylinder and is provided with a matching hole suitable for allowing the convex shaft to be installed therein, the hole diameter of the matching hole is smaller than the outer diameter of the air cylinder, and the air cylinder rotates relative to the outer circle matching structure; and the oil guide groove is arranged on the hole wall of the matching hole, and extends from the end, facing the cylinder body, of the hole wall of the matching hole to the end, away from the cylinder body, of the hole wall of the matching hole, or, the oil guide groove is arranged on the outer peripheral surface of the convex shaft, and extends from the end, connected with the cylinder body, of the convex shaft to the end, away from the cylinder body, of the convex shaft. According to the pump body structure of the rotary cylinder piston compressor and therotary cylinder piston compressor, lubricating can be performed between the outer peripheral surface of the convex shaft and the hole wall of the matching hole, so that the abrasion between the air cylinder and the outer circle matching structure is reduced.