入职流程完成
This commit is contained in:
@@ -9,17 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="idPhoto" column="id_photo"/>
|
||||
<result property="userId" column="user_id"/>
|
||||
<result property="joiningDate" column="joining_date"/>
|
||||
<result property="probationPeriodEnd" column="probation_period_end"/>
|
||||
<result property="managerId" column="manager_id"/>
|
||||
<result property="documentsSubmitted" column="documents_submitted"/>
|
||||
<result property="orientationCompleted" column="orientation_completed"/>
|
||||
<result property="joiningStatus" column="joining_status"/>
|
||||
<result property="recruitmentCompleted" column="recruitment_completed"/>
|
||||
<result property="offerIssued" column="offer_issued"/>
|
||||
<result property="contractSigned" column="contract_signed"/>
|
||||
<result property="materialsPrepared" column="materials_prepared"/>
|
||||
<result property="trainingCompleted" column="training_completed"/>
|
||||
<result property="workConditionsPrepared" column="work_conditions_prepared"/>
|
||||
<result property="highestDegree" column="highest_degree"/>
|
||||
<result property="createBy" column="create_by"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
@@ -34,10 +24,33 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="politicalStatus" column="political_status"/>
|
||||
<result property="height" column="height"/>
|
||||
<result property="weight" column="weight"/>
|
||||
<result property="staffType" column="staff_type"/>
|
||||
<result property="emergencyContact1" column="emergency_contact1"/>
|
||||
<result property="emergencyContact2" column="emergency_contact2"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<update id="updateByUserId" parameterType="com.ruoyi.oa.domain.EmployeeOnboarding">
|
||||
|
||||
update employee_onboarding
|
||||
<set>
|
||||
<if test="idPhoto != null and idPhoto != 0">id_photo = #{idPhoto},</if>
|
||||
<if test="joiningDate != null and joiningDate != ''">joining_date = #{joiningDate},</if>
|
||||
<if test="managerId != null and managerId != ''">manager_id = #{managerId},</if>
|
||||
<if test="highestDegree != null and highestDegree != ''">highest_degree = #{highestDegree},</if>
|
||||
<if test="remark != null and remark != ''">remark = #{remark},</if>
|
||||
<if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
|
||||
<if test="birthDate != null and birthDate != ''">birth_date = #{birthDate},</if>
|
||||
<if test="ethnicity != null and ethnicity != ''">ethnicity = #{ethnicity},</if>
|
||||
<if test="confirmDate != null and confirmDate != ''">confirm_date = #{confirmDate},</if>
|
||||
<if test="maritalStatus != null and maritalStatus != ''">marital_status = #{maritalStatus},</if>
|
||||
<if test="politicalStatus != null and politicalStatus != ''">political_status = #{politicalStatus},</if>
|
||||
<if test="height != null and height != ''">height = #{height},</if>
|
||||
<if test="weight != null and weight != ''">weight = #{weight},</if>
|
||||
<if test="emergencyContact1 != null and emergencyContact1 != ''">emergency_contact1 = #{emergencyContact1},</if>
|
||||
<if test="emergencyContact2 != null and emergencyContact2 != ''">emergency_contact2 = #{emergencyContact2},</if>
|
||||
</set>
|
||||
where user_id = #{userId}
|
||||
</update>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user