|
@@ -61,6 +61,7 @@
|
|
|
<result column="is_settlement_salary_" property="isSettlementSalary"/>
|
|
|
<result column="contract_url_" property="contractUrl"/>
|
|
|
<result column="tenant_id_" property="tenantId"/>
|
|
|
+ <result column="courseware_limit_" property="coursewareLimit"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.ym.mec.biz.dal.dto.TeacherDefaultSalaryDto" id="TeacherDefaultSalaryDto">
|
|
@@ -124,7 +125,7 @@
|
|
|
su.real_name_,su.id_card_no_,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.organ_id_,
|
|
|
- t.is_settlement_salary_,su.tenant_id_
|
|
|
+ t.is_settlement_salary_,su.tenant_id_, t.courseware_limit_
|
|
|
FROM teacher t
|
|
|
LEFT JOIN sys_user su ON t.id_ = su.id_
|
|
|
WHERE t.id_ = #{id} AND su.del_flag_ = 0
|
|
@@ -237,6 +238,9 @@
|
|
|
<if test="postDeptIds != null">
|
|
|
post_dept_ids_ = #{postDeptIds},
|
|
|
</if>
|
|
|
+ <if test="coursewareLimit != null">
|
|
|
+ courseware_limit_ = #{coursewareLimit},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
WHERE id_ = #{id} and tenant_id_ = #{tenantId}
|
|
|
</update>
|
|
@@ -323,6 +327,9 @@
|
|
|
<if test="postDeptIds != null">
|
|
|
post_dept_ids_ = #{postDeptIds},
|
|
|
</if>
|
|
|
+ <if test="coursewareLimit != null">
|
|
|
+ courseware_limit_ = #{coursewareLimit},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
WHERE id_ = #{id} and tenant_id_ = #{tenantId}
|
|
|
</update>
|