Oilseed rape not only has the function of improve saline and alkaline soils, but also alleviate the local feed shortage. However, medium- and high-degree soil salinization and alkalinization always inhibit the growth of oilseed rape. Studies have shown that compound material can improve the tolerance to saline and alkaline stress of crops, but the difference in the regulation mechanism of compound material on oilseed rape in saline and alkaline soils is not clear. This study explored the difference through determining the leaf ion contents, physiological indexes, transcriptomics, and metabolomics of oilseed rape in salinized soil (NaCl 8 g kg−1) and alkalinized soil (Na2CO3 8 g kg−1) at full flowering stage, respectively after the application of compound material. The results showed that in salinized and alkalinized soil, the compound material upregulated the genes related to the regulation of potassium ion transport, and changed the amino acid metabolic pathway, which reduced the contents of Na+, malondialdehyde (MDA), and relative conductivity (REC) in leaves, and increased the contents of K+ and Mg2+ and the activities of superoxide dismutase (SOD), peroxidase (POD), and catalase (CAT). However, there were differences in the regulation mechanism of compound material in salinized and alkalinized soil. In salinized soil, the compound material improved the tolerance of oilseed rape to saline stress by upregulating transcription factors mannose-1-phosphate guanylyltransferase (GPMM) and Glutamine--fructose-6-phosphate transaminase (GFPT) and downregulating phosphomannomutase (PMM) to change nucleotide metabolism pathway and lipid metabolism pathway. In alkalized soil, the compound material improved the tolerance of oilseed rape to alkaline stress by upregulating transcription factors Phenylalanine ammonia lyase (PAL) to change the biosynthesis pathway of other secondary metabolites. Therefore, the compound material can improve the tolerance of oilseed rape to saline and alkaline stress by regulating the genetic adaptability and apparent plasticity, but the mechanisms were different. This study provides a practical method for the ecological environment restoration and the development of animal husbandry.