a.id AS "id",
a.create_by AS "createBy.id",
a.create_date AS "createDate",
a.update_by AS "updateBy.id",
a.update_date AS "updateDate",
a.remarks AS "remarks",
a.del_flag AS "delFlag",
a.user_id AS "userId",
a.company_id AS "companyId",
a.name AS "name",
a.nick_name AS "nickName",
a.gender AS "gender",
a.job_number AS "jobNumber",
a.highest_degree AS "highestDegree",
a.highest_school AS "highestSchool",
a.highest_profession AS "highestProfession",
a.highest_graduationtime AS "highestGraduationTime",
a.first_degree AS "firstDegree",
a.first_chool AS "firstSchool",
a.first_profession AS "firstProfession",
a.first_graduationtime AS "firstGraduationTime",
a.birthday AS "birthday",
a.id_card AS "idCard",
a.professional_title AS "professionalTitle",
a.professional_getdate AS "professionalGetdate",
a.social_insurance_account AS "socialInsuranceAccount",
a.medical_insurance_account AS "medicalInsuranceAccount",
a.bank_account AS "bankAccount",
a.provident_fund_account AS "providentFundAccount",
a.qq AS "qq",
a.weixin AS "weixin",
a.mobilephone AS "mobilePhone",
a.email AS "email",
a.is_costengineer AS "isCostengineer",
a.costengineer_getdate AS "costengineerGetdate",
a.workstart_date AS "workstartDate",
a.probation_position AS "probationPosition",
a.probation_duration AS "probationDuration",
a.probation_enddate AS "probationEnddate",
a.professional_qualification AS "professionalQualification",
a.engaged_job AS "engagedJob",
a.other_qualification AS "otherQualification",
a.personal_profile AS "personalProfile"
INSERT INTO sys_user_info(
id,
create_by,
create_date,
update_by,
update_date,
remarks,
del_flag,
user_id,
company_id,
sys_user_office_id,
name,
nick_name,
gender,
job_number,
highest_degree,
highest_school,
highest_profession,
highest_graduationtime,
first_degree,
first_chool,
first_profession,
first_graduationtime,
birthday,
id_card,
professional_title,
professional_getdate,
social_insurance_account,
medical_insurance_account,
bank_account,
provident_fund_account,
qq,
weixin,
mobilephone,
email,
is_costengineer,
costengineer_getdate,
workstart_date,
probation_position,
probation_duration,
probation_enddate,
professional_qualification,
engaged_job,
other_qualification,
personal_profile
) VALUES (
#{id},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{remarks},
#{delFlag},
#{userId},
#{companyId},
#{userOffice.id},
#{name},
#{nickName},
#{gender},
#{jobNumber},
#{highestDegree},
#{highestSchool},
#{highestProfession},
#{highestGraduationTime},
#{firstDegree},
#{firstSchool},
#{firstProfession},
#{firstGraduationTime},
#{birthday},
#{idCard},
#{professionalTitle},
#{professionalGetdate},
#{socialInsuranceAccount},
#{medicalInsuranceAccount},
#{bankAccount},
#{providentFundAccount},
#{qq},
#{weixin},
#{mobilePhone},
#{email},
#{isCostengineer},
#{costengineerGetdate},
#{workstartDate},
#{probationPosition},
#{probationDuration},
#{probationEnddate},
#{professionalQualification},
#{engagedJob},
#{otherQualification},
#{personalProfile}
)
UPDATE sys_user_info SET
update_by = #{updateBy.id},
update_date = #{updateDate},
remarks = #{remarks},
user_id = #{userId},
company_id = #{companyId},
name = #{name},
nick_name = #{nickName},
gender = #{gender},
job_number = #{jobNumber},
highest_degree = #{highestDegree},
highest_school = #{highestSchool},
highest_profession = #{highestProfession},
highest_graduationtime = #{highestGraduationTime},
first_degree = #{firstDegree},
first_chool = #{firstSchool},
first_profession = #{firstProfession},
first_graduationtime = #{firstGraduationTime},
birthday = #{birthday},
id_card = #{idCard},
professional_title = #{professionalTitle},
professional_getdate = #{professionalGetdate},
social_insurance_account = #{socialInsuranceAccount},
medical_insurance_account = #{medicalInsuranceAccount},
bank_account = #{bankAccount},
provident_fund_account = #{providentFundAccount},
qq = #{qq},
weixin = #{weixin},
mobilephone = #{mobilePhone},
email = #{email},
is_costengineer = #{isCostengineer},
costengineer_getdate = #{costengineerGetdate},
workstart_date = #{workstartDate},
probation_position = #{probationPosition},
probation_duration = #{probationDuration},
probation_enddate = #{probationEnddate},
professional_qualification = #{professionalQualification},
engaged_job = #{engagedJob},
other_qualification = #{otherQualification},
personal_profile = #{personalProfile},
sys_user_office_id = #{userOffice.id}
WHERE id = #{id}
DELETE FROM sys_user_info
WHERE id = #{id}
UPDATE sys_user_info SET
del_flag = #{DEL_FLAG_DELETE}
WHERE id = #{id}