|
@@ -156,9 +156,7 @@
|
|
<if test="lectureNum != null">
|
|
<if test="lectureNum != null">
|
|
lecture_num_ = #{lectureNum},
|
|
lecture_num_ = #{lectureNum},
|
|
</if>
|
|
</if>
|
|
- <if test="memo != null">
|
|
|
|
memo_ = #{memo},
|
|
memo_ = #{memo},
|
|
- </if>
|
|
|
|
<if test="graduateSchool != null">
|
|
<if test="graduateSchool != null">
|
|
graduate_school_ = #{graduateSchool},
|
|
graduate_school_ = #{graduateSchool},
|
|
</if>
|
|
</if>
|
|
@@ -174,9 +172,7 @@
|
|
<if test="entryDate != null">
|
|
<if test="entryDate != null">
|
|
entry_date_ = #{entryDate},
|
|
entry_date_ = #{entryDate},
|
|
</if>
|
|
</if>
|
|
- <if test="demissionDate != null">
|
|
|
|
demission_date_ = #{demissionDate},
|
|
demission_date_ = #{demissionDate},
|
|
- </if>
|
|
|
|
<if test="jobType != null">
|
|
<if test="jobType != null">
|
|
job_type_ = #{jobType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
job_type_ = #{jobType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
</if>
|
|
</if>
|
|
@@ -295,7 +291,7 @@
|
|
<!-- 分页查询 -->
|
|
<!-- 分页查询 -->
|
|
<select id="queryPage" resultMap="Teacher" parameterType="map">
|
|
<select id="queryPage" resultMap="Teacher" parameterType="map">
|
|
SELECT t.id_,su.real_name_,su.lock_flag_,t.subject_id_,su.phone_,t.organ_id_ teacher_organ_id_,t.organ_id_,t.is_support_extra_practice_lesson_,
|
|
SELECT t.id_,su.real_name_,su.lock_flag_,t.subject_id_,su.phone_,t.organ_id_ teacher_organ_id_,t.organ_id_,t.is_support_extra_practice_lesson_,
|
|
- t.job_nature_,t.is_probation_period_,t.memo_,GROUP_CONCAT(s.name_) subject_name_,su.del_flag_
|
|
|
|
|
|
+ t.job_nature_,t.demission_date_,t.is_probation_period_,t.memo_,GROUP_CONCAT(s.name_) subject_name_,su.del_flag_
|
|
FROM teacher t
|
|
FROM teacher t
|
|
LEFT JOIN sys_user su ON t.id_ = su.id_
|
|
LEFT JOIN sys_user su ON t.id_ = su.id_
|
|
LEFT JOIN `subject` s ON FIND_IN_SET(s.id_,t.subject_id_)
|
|
LEFT JOIN `subject` s ON FIND_IN_SET(s.id_,t.subject_id_)
|