Просмотр исходного кода

院校专业匹配查询年度

mingfu 1 месяц назад
Родитель
Сommit
e68f3a6695
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ie-system/src/main/resources/mapper/sy/SyMajorMapper.xml

+ 1 - 1
ie-system/src/main/resources/mapper/sy/SyMajorMapper.xml

@@ -125,7 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                  JOIN `sy_major` m ON mp.`majorName` = m.`name` AND mp.`level` = m.`type` AND IF(mp.`examineeType` = '职高对口升学', '职高对口升学', '单招(应届普高)') = m.`exam_type`
                  LEFT JOIN `sy_major` m1 ON m1.`code` = m.`parent_code` AND m1.`exam_type` = m.`exam_type` AND m1.type = m.type AND m1.level + 1 = m.level
                  LEFT JOIN `sy_major` m2 ON m2.`code` = m1.`parent_code` AND m1.`exam_type` = m.`exam_type` AND m2.type = m1.type AND m2.level + 1 = m1.level
-        WHERE mp.`year` = #{year} AND mp.`examineeType` = #{examType} AND mp.`universityId` = #{universityId}  AND mp.`location` = #{location}
+        WHERE mp.`match_year` = #{year} AND mp.`examineeType` = #{examType} AND mp.`universityId` = #{universityId}  AND mp.`location` = #{location}
         ORDER BY m.`type`, m.`code`
     </select>