When the cast-in-place piles construction occurs in karst area,the vertical bearing capacity of massive cast-inplace piles fail to meet the design requirements due to the caves under the piles.Therefore,this thesis discusses a rigid and semi-rigid composite foundation method,mixing the former cast-in-place piles are taken as the rigid piles with the latter longspiral piles are taken as the semi-rigid ones,which successfully avoids the piles accident.