It is a very important goal of education goal to improve the students’ comprehensive quality. As a university teacher in an engineering college, he should not only teach students professional knowledge to improve students" theoretical level but penetrated the values and professional ethics properly into the whole process of teaching to help them develop correct professional outlook and values appropriately. Take soil mechanics course as an example, the teacher shows engineering case with purposeful choice around students to stimulate students’ interest. So the students can take part in the case and do some useful things to teaching work. Numerical simulation method is introduced into the classroom to increase the intuitiveness of theoretical knowledge. Grasp the essence, clarify the relationship between knowledge points to stimulate interest in learning and scientific research, enhance the teaching effect. Exploring the ideological and political elements in classroom in case teaching to cultivate students" sense of seeking truth from facts and social responsibility. Training talents with knowledge and responsibility for the construction of the new era.