select id, user_id, real_name, gender, birthday, id_card, specialty, work_experience, hospital, address, iphone, introduction, title, phone, expert_type, email, nick_name, create_by, create_time, update_by, update_time from vet_personal_info select v.id, v.user_id, v.real_name, v.gender, v.birthday, v.id_card, v.specialty, v.work_experience, v.hospital, v.address, v.iphone, v.introduction, v.title, v.phone, v.expert_type, v.email, v.nick_name, v.create_by, v.create_time, v.update_by, v.update_time, v.audit_status, v.audit_time, v.auditor, v.audit_desc, u.user_id as u_user_id, u.nick_name as u_nick_name, u.avatar as u_avatar, u.email as u_email from vet_personal_info v left join sys_user u on v.user_id = u.user_id insert into vet_personal_info user_id, real_name, gender, birthday, id_card, specialty, work_experience, hospital, address, iphone, introduction, title, phone, expert_type, email, nick_name, avatar, create_by, create_time, update_by, update_time, #{userId}, #{realName}, #{gender}, #{birthday}, #{idCard}, #{specialty}, #{workExperience}, #{hospital}, #{address}, #{iphone}, #{introduction}, #{title}, #{phone}, #{expertType}, #{email}, #{nickName}, #{avatar}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update vet_personal_info user_id = #{userId}, real_name = #{realName}, gender = #{gender}, birthday = #{birthday}, id_card = #{idCard}, specialty = #{specialty}, work_experience = #{workExperience}, hospital = #{hospital}, address = #{address}, iphone = #{iphone}, introduction = #{introduction}, title = #{title}, phone = #{phone}, expert_type = #{expertType}, email = #{email}, nick_name = #{nickName}, avatar = #{avatar}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} UPDATE vet_personal_info audit_status = #{auditStatus}, auditor = #{auditor}, audit_time = #{auditTime}, audit_desc = #{auditDesc}, update_time = sysdate() WHERE id = #{id} delete from vet_personal_info where id = #{id} delete from vet_personal_info where id in #{id}