UPDATE hrms_user SET del_or_not = 1 WHERE id IN #{id} UPDATE hrms_user SET status = #{status},disable_start_time = #{disableStartTime}, disable_end_time = #{disableEndTime},disable_cause = #{disableCause} WHERE id = #{id} UPDATE hrms_user SET password = #{password} WHERE id = #{id} UPDATE hrms_employee SET name = #{name},job_number = #{jobNumber},gender = #{gender},birthday = #{birthday}, phone = #{phone},company_mail = #{companyMail} WHERE id = #{id} UPDATE hrms_user SET account = #{account},motify_time = #{modifyTime} WHERE id = #{id} DELETE FROM hrms_employee_dept WHERE employee_id = #{id} DELETE FROM hrms_employee_position WHERE emp_id = #{id} DELETE FROM hrms_employee_role WHERE user_id = #{id} INSERT INTO hrms_employee_dept (employee_id,dept_id) VALUES (#{id},#{deptId}) INSERT INTO hrms_employee_position (emp_id,position_id) VALUES (#{id},#{positionId}) INSERT INTO hrms_employee_role (user_id,role_id) VALUES (#{id},#{roleId}) INSERT INTO hrms_employee_role (user_id,role_id) VALUES (#{item.userId},#{item.roleId}) INSERT INTO hrms_employee_role (user_id,role_id) VALUES (#{userId},#{roleId}) INSERT INTO hrms_employee_role (user_id,role_id) VALUES (#{userId},#{roleId}) INSERT INTO hrms_employee (name,job_number,gender,birthday,phone,company_mail,user_id) VALUES (#{name},#{jobNumber},#{gender},#{birthday},#{phone},#{companyMail},#{userId}) INSERT INTO hrms_user (account,create_time,motify_time) VALUES (#{account},#{createTime},#{motifyTime}) UPDATE hrms_employee SET gender = #{gender},office_phone = #{officePhone},phone = #{phone}, company_mail = #{companyMail},spare_mail = #{spareMail} ,head_portarit_url = #{headPortaritUrl} WHERE id = #{id}