Browse Source

调整民族字段查询

dzx 1 year ago
parent
commit
37786db28f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/student/BaseStudentSchoolRollMapper.xml

+ 1 - 1
src/main/resources/mapper/student/BaseStudentSchoolRollMapper.xml

@@ -39,7 +39,7 @@
         INNER JOIN base_student_school_roll t3 ON t1.user_id = t3.user_id
         LEFT JOIN base_class t4 ON t3.class_id = t4.id
         LEFT JOIN xjr_user t5 ON t4.teacher_id = t5.id
-        LEFT JOIN base_student_family_member t6 ON t6.user_id = t2.id AND t6.delete_mark = 0 AND t6.is_guardian = 1
+        LEFT JOIN xjr_dictionary_detail t6 ON t6.code = t1.nation
         LEFT JOIN xjr_dictionary_detail t7 ON t7.code = t2.gender
         LEFT JOIN xjr_dictionary_detail t8 ON t8.code = t3.stduy_status
         LEFT JOIN xjr_dictionary_detail t11 ON t11.code = t3.student_type