Greenhouse eggplant monocropping in China has contributed to the aggravation of soil-borne diseases, reductions in crop quality and yield, and the degradation of physical and chemical soil properties. Crop rotation is one effective way of alleviating the problems of continuous cropping worldwide; however, few studies have reported changes in soil bacterial community structures and physical and chemical soil properties after Brassica vegetables had been rotated with eggplant in greenhouses. In this experiment, mustard-eggplant (BFN) and oilseed rape-eggplant (BFC) rotations were studied to identify changes in the physicochemical properties and bacterial community structure in soil that was previously subject to monocropping. Samples were taken after two types of Brassica plants incorporated into soil for 15 days to compare with continually planted eggplant (control, CN) and chemical disinfection of soil (CF) in greenhouses. MiSeq pyrosequencing was used to analyze soil bacterial diversity and structure in the four different treatments. A total of 55,129 reads were identified, and rarefaction analysis showed that the soil treatments were equally sampled. The bacterial richness of the BFC treatment and the diversity of the BFN treatment were significantly higher than those of the other treatments. Further comparison showed that the bacterial community structures of BFC and BFN treatments were also different from CN and CF treatments. The relative abundance of several dominant bacterial genera in the BFC and BFN treatments (such as Flavobacteria, Stenotrophomonas, Massilia and Cellvibrio, which played different roles in improving soil fertility and advancing plant growth) was distinctly higher than the CN or CF treatments. Additionally, the total organic matter and Olsen-P content of the BFC and BFN treatments were significantly greater than the CN treatment. We conclude that Brassica vegetables-eggplant crop rotations could provide a more effective means of solving the problems of greenhouse eggplant monocultures.