This commit is contained in:
2025-03-09 16:22:54 +08:00
parent d335612b2f
commit 82f85233aa
13 changed files with 285 additions and 11 deletions

View File

@@ -31,18 +31,17 @@
<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="idPhoto != null">id_photo = #{idPhoto},</if>
<if test="joiningDate != null">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="confirmDate != null">confirm_date = #{confirmDate},</if>
<if test="status != null and status != ''">status = #{status},</if>
<if test="maritalStatus != null and maritalStatus != ''">marital_status = #{maritalStatus},</if>
<if test="politicalStatus != null and politicalStatus != ''">political_status = #{politicalStatus},</if>
@@ -79,6 +78,7 @@
<select id="selectVoByUserId" resultType="com.ruoyi.oa.domain.vo.EmployeeOnboardingVo">
SELECT
eo.onboarding_id,
eo.user_id,
su.nick_name,
eo.joining_date,