zouxuan 5 年之前
父节点
当前提交
cea4e7fce3
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      mec-biz/src/main/resources/config/mybatis/TeacherMapper.xml

+ 5 - 2
mec-biz/src/main/resources/config/mybatis/TeacherMapper.xml

@@ -51,9 +51,12 @@
 
     <!-- 根据主键查询一条记录 -->
     <select id="get" resultMap="Teacher">
-        SELECT t.*,su.real_name_,su.password_,su.salt_,su.phone_,su.avatar_,
+        SELECT t.id_,t.organ_id_ teacher_organ_id_,t.job_type_,t.is_probation_period_,t.education_background_,t.graduate_school_,t.graduate_school_,
+        t.technical_titles_,t.work_unit_,t.subject_id_,t.entry_date_,t.certificate_type_,t.certificate_num_,t.flow_organ_range_,t.update_time_,
+        t.create_time_,t.introduction_,t.demission_date_,t.is_support_course_schedule_rewards_rules_,
+        su.real_name_,su.password_,su.salt_,su.phone_,su.avatar_,
         su.lock_flag_,su.del_flag_,su.wx_openid_,su.qq_openid_,su.user_type_,
-        su.gender_,su.nation_,su.birthdate_,su.email_,su.im_token_,su.username_
+        su.gender_,su.nation_,su.birthdate_,su.email_,su.im_token_,su.username_,su.organ_id_
         FROM teacher t
         LEFT JOIN sys_user su ON t.id_ = su.id_
         WHERE t.id_ = #{id} AND su.del_flag_ = 0