|
@@ -1575,4 +1575,13 @@
|
|
|
WHERE id_ = #{userId} LIMIT 1
|
|
|
</select>
|
|
|
|
|
|
+ <select id="queryBaseInfoByPage" 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_,t.dept_id_,t.dept_ids_,t.post_dept_ids_,
|
|
|
+ t.job_nature_,t.demission_date_,t.formal_staff_date_,t.is_probation_period_,t.memo_,su.del_flag_,t.is_settlement_salary_
|
|
|
+ FROM teacher t
|
|
|
+ LEFT JOIN sys_user su ON t.id_ = su.id_
|
|
|
+ ORDER BY t.id_ DESC
|
|
|
+ <include refid="global.limit"/>
|
|
|
+ </select>
|
|
|
</mapper>
|