update lz_staff_occupation set status=#{status} where is_delete=0 and staff_id = #{staffId} INSERT INTO lz_staff_occupation(staff_id,employee_no,staff_type,staff_status) VALUES (#{staffOccupation.staffId},#{staffOccupation.employeeNo},#{staffOccupation.staffType},#{staffOccupation.staffStatus})