diff --git a/RuoYi-Vue/ruoyi-train/src/main/resources/mapper/train/TrainTeacherMapper.xml b/RuoYi-Vue/ruoyi-train/src/main/resources/mapper/train/TrainTeacherMapper.xml index 3be0ead17..79977ef5d 100644 --- a/RuoYi-Vue/ruoyi-train/src/main/resources/mapper/train/TrainTeacherMapper.xml +++ b/RuoYi-Vue/ruoyi-train/src/main/resources/mapper/train/TrainTeacherMapper.xml @@ -43,6 +43,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and t_phone like concat('%', #{tPhone}, '%') and t_email = #{tEmail} and status = #{status} + and major like concat('%', #{major}, '%') + and courses like concat('%', #{courses}, '%') order by create_time desc diff --git a/build_ui/src/views/train/student/index.vue b/build_ui/src/views/train/student/index.vue index f595a51e7..1ef8cae41 100644 --- a/build_ui/src/views/train/student/index.vue +++ b/build_ui/src/views/train/student/index.vue @@ -16,13 +16,14 @@ @keyup.enter.native="handleQuery" /> - - + + - + />--> + - + + + + + + + @@ -92,14 +109,15 @@ {{ formatGender(scope.row.tGender) }} - + +