|
@@ -116,7 +116,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
u.del_flag, u.login_ip, u.login_date, u.create_by, u.create_time, u.remark, d.dept_name, d.leader_id,
|
|
|
d.director_id, d.type,u.job_number,u.user_type,u.tenant_id,u.user_code,u.company_id,u.company_set,
|
|
|
u.account_name,u.account_bank,u.account_number,u.purchase_range,u.sale_lv,u.identity,
|
|
|
- u.jd_subject_code,u.jd_subject_name
|
|
|
+ u.jd_subject_code,u.jd_subject_name,
|
|
|
+ u.employee_type,
|
|
|
+ u.probation_ratio,
|
|
|
+ u.internship_ratio,
|
|
|
+ u.amount,
|
|
|
+ u.education,
|
|
|
+ u.post,
|
|
|
+ u.probation_period,
|
|
|
+ u.entry_date,
|
|
|
+ u.effective_date,
|
|
|
+ u.full_time_date,
|
|
|
+ u.month_rest,
|
|
|
+ u.daily_hours,
|
|
|
+ u.morning_begin_time,
|
|
|
+ u.morning_end_time,
|
|
|
+ u.afternoon_begin_time,
|
|
|
+ u.afternoon_end_time,
|
|
|
+ u.settle_method,
|
|
|
+ u.salary_remark
|
|
|
from
|
|
|
sys_user u
|
|
|
left join sys_dept d on u.dept_id = d.dept_id
|
|
@@ -353,6 +371,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="identity != null">identity,</if>
|
|
|
<if test="jdSubjectCode != null">jd_subject_code,</if>
|
|
|
<if test="jdSubjectName != null">jd_subject_name,</if>
|
|
|
+
|
|
|
+ <if test="employeeType != null and employeeType != ''">employee_type,</if>
|
|
|
+ <if test="probationRatio != null and probationRatio != ''">probation_ratio,</if>
|
|
|
+ <if test="internshipRatio != null and internshipRatio != ''">internship_ratio,</if>
|
|
|
+ <if test="amount != null and amount != ''">amount,</if>
|
|
|
+ <if test="education != null and education != ''">education,</if>
|
|
|
+ <if test="post != null and post != ''">post,</if>
|
|
|
+ <if test="probationPeriod != null and probationPeriod != ''">probation_period,</if>
|
|
|
+ <if test="entryDate != null">entry_date,</if>
|
|
|
+ <if test="effectiveDate != null">effective_date,</if>
|
|
|
+ <if test="fullTimeDate != null">full_time_date,</if>
|
|
|
+ <if test="monthRest != null and monthRest != ''">month_rest,</if>
|
|
|
+ <if test="dailyHours != null and dailyHours != ''">daily_hours,</if>
|
|
|
+ <if test="morningBeginTime != null">morning_begin_time,</if>
|
|
|
+ <if test="morningEndTime != null">morning_end_time,</if>
|
|
|
+ <if test="afternoonBeginTime != null">afternoon_begin_time,</if>
|
|
|
+ <if test="afternoonEndTime != null">afternoon_end_time,</if>
|
|
|
+ <if test="settleMethod != null and settleMethod != ''">settle_method,</if>
|
|
|
+ <if test="salaryRemark != null and salaryRemark != ''">salary_remark,</if>
|
|
|
create_time
|
|
|
)values(
|
|
|
<if test="userId != null and userId != ''">#{userId},</if>
|
|
@@ -382,6 +419,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="identity != null">#{identity},</if>
|
|
|
<if test="jdSubjectCode != null">#{jdSubjectCode},</if>
|
|
|
<if test="jdSubjectName != null">#{jdSubjectName},</if>
|
|
|
+
|
|
|
+ <if test="employeeType != null and employeeType != ''">#{employeeType},</if>
|
|
|
+ <if test="probationRatio != null and probationRatio != ''">#{probationRatio},</if>
|
|
|
+ <if test="internshipRatio != null and internshipRatio != ''">#{internshipRatio},</if>
|
|
|
+ <if test="amount != null and amount != ''">#{amount},</if>
|
|
|
+ <if test="education != null and education != ''">#{education},</if>
|
|
|
+ <if test="post != null and post != ''">#{post},</if>
|
|
|
+ <if test="probationPeriod != null and probationPeriod != ''">#{probationPeriod},</if>
|
|
|
+ <if test="entryDate != null">#{entryDate},</if>
|
|
|
+ <if test="effectiveDate != null">#{effectiveDate},</if>
|
|
|
+ <if test="fullTimeDate != null">#{fullTimeDate},</if>
|
|
|
+ <if test="monthRest != null and monthRest != ''">#{monthRest},</if>
|
|
|
+ <if test="dailyHours != null and dailyHours != ''">#{dailyHours},</if>
|
|
|
+ <if test="morningBeginTime != null">#{morningBeginTime},</if>
|
|
|
+ <if test="morningEndTime != null">#{morningEndTime},</if>
|
|
|
+ <if test="afternoonBeginTime != null">#{afternoonBeginTime},</if>
|
|
|
+ <if test="afternoonEndTime != null">#{afternoonEndTime},</if>
|
|
|
+ <if test="settleMethod != null and settleMethod != ''">#{settleMethod},</if>
|
|
|
+ <if test="salaryRemark != null and salaryRemark != ''">#{salaryRemark},</if>
|
|
|
sysdate()
|
|
|
)
|
|
|
</insert>
|
|
@@ -420,6 +476,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<if test="jdSubjectCode != null">jd_subject_code = #{jdSubjectCode},</if>
|
|
|
<if test="jdSubjectName != null">jd_subject_name = #{jdSubjectName},</if>
|
|
|
+
|
|
|
+ <if test="employeeType != null and employeeType != ''">employee_type = #{employeeType},</if>
|
|
|
+ <if test="probationRatio != null and probationRatio != ''">probation_ratio = #{probationRatio},</if>
|
|
|
+ <if test="internshipRatio != null and internshipRatio != ''">internship_ratio = #{internshipRatio},</if>
|
|
|
+ <if test="amount != null and amount != ''">amount = #{amount},</if>
|
|
|
+ <if test="education != null and education != ''">education = #{education},</if>
|
|
|
+ <if test="post != null and post != ''">post = #{post},</if>
|
|
|
+ <if test="probationPeriod != null and probationPeriod != ''">probation_period = #{probationPeriod},</if>
|
|
|
+ <if test="entryDate != null">entry_date = #{entryDate},</if>
|
|
|
+ <if test="effectiveDate != null">effective_date = #{effectiveDate},</if>
|
|
|
+ <if test="fullTimeDate != null">full_time_date = #{fullTimeDate},</if>
|
|
|
+ <if test="monthRest != null and monthRest != ''">month_rest = #{monthRest},</if>
|
|
|
+ <if test="dailyHours != null and dailyHours != ''">daily_hours = #{dailyHours},</if>
|
|
|
+ <if test="morningBeginTime != null">morning_begin_time = #{morningBeginTime},</if>
|
|
|
+ <if test="morningEndTime != null">morning_end_time = #{morningEndTime},</if>
|
|
|
+ <if test="afternoonBeginTime != null">afternoon_begin_time = #{afternoonBeginTime},</if>
|
|
|
+ <if test="afternoonEndTime != null">afternoon_end_time = #{afternoonEndTime},</if>
|
|
|
+ <if test="settleMethod != null and settleMethod != ''">settle_method = #{settleMethod},</if>
|
|
|
+ <if test="salaryRemark != null and salaryRemark != ''">salary_remark = #{salaryRemark},</if>
|
|
|
update_time = sysdate()
|
|
|
</set>
|
|
|
where user_id = #{userId}
|