insert into ten_person person_id, username, password, salt, name, gender, nation, mobile, cell_id, build_id, room_id, person_type, org_image, face_image, label_id, remark, app_flag, id_card, id_type, id_front_image, id_back_image, live_start, live_end, email, work, status, note, create_time, create_by, last_update_time, last_update_by, login_time, open_id, ryid, uuid, delete_flag, register_type, tenant_id, face_failure, xa_sync, xa_sync_card, xa_sync_image, #{personId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{salt,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{gender,jdbcType=TINYINT}, #{nation,jdbcType=TINYINT}, #{mobile,jdbcType=VARCHAR}, #{cellId,jdbcType=BIGINT}, #{buildId,jdbcType=BIGINT}, #{roomId,jdbcType=BIGINT}, #{personType,jdbcType=INTEGER}, #{orgImage,jdbcType=VARCHAR}, #{faceImage,jdbcType=VARCHAR}, #{labelId,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{appFlag,jdbcType=TINYINT}, #{idCard,jdbcType=VARCHAR}, #{idType,jdbcType=TINYINT}, #{idFrontImage,jdbcType=VARCHAR}, #{idBackImage,jdbcType=VARCHAR}, #{liveStart,jdbcType=TIMESTAMP}, #{liveEnd,jdbcType=TIMESTAMP}, #{email,jdbcType=VARCHAR}, #{work,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, #{note,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, #{lastUpdateTime,jdbcType=TIMESTAMP}, #{lastUpdateBy,jdbcType=VARCHAR}, #{loginTime,jdbcType=TIMESTAMP}, #{openId,jdbcType=VARCHAR}, #{ryid,jdbcType=VARCHAR}, #{uuid,jdbcType=VARCHAR}, #{deleteFlag,jdbcType=TINYINT}, #{registerType,jdbcType=TINYINT}, #{tenantId,jdbcType=BIGINT}, #{faceFailure,jdbcType=TINYINT}, #{xaSync,jdbcType=TINYINT}, #{xaSyncCard,jdbcType=TINYINT}, #{xaSyncImage,jdbcType=TINYINT}, update ten_person person_id = #{personId,jdbcType=BIGINT}, username = #{username,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, salt = #{salt,jdbcType=VARCHAR}, name = #{name,jdbcType=VARCHAR}, gender = #{gender,jdbcType=TINYINT}, nation = #{nation,jdbcType=TINYINT}, mobile = #{mobile,jdbcType=VARCHAR}, cell_id = #{cellId,jdbcType=BIGINT}, build_id = #{buildId,jdbcType=BIGINT}, room_id = #{roomId,jdbcType=BIGINT}, person_type = #{personType,jdbcType=INTEGER}, org_image = #{orgImage,jdbcType=VARCHAR}, face_image = #{faceImage,jdbcType=VARCHAR}, label_id = #{labelId,jdbcType=INTEGER}, remark = #{remark,jdbcType=VARCHAR}, app_flag = #{appFlag,jdbcType=TINYINT}, id_card = #{idCard,jdbcType=VARCHAR}, id_type = #{idType,jdbcType=TINYINT}, id_front_image = #{idFrontImage,jdbcType=VARCHAR}, id_back_image = #{idBackImage,jdbcType=VARCHAR}, live_start = #{liveStart,jdbcType=TIMESTAMP}, live_end = #{liveEnd,jdbcType=TIMESTAMP}, email = #{email,jdbcType=VARCHAR}, work = #{work,jdbcType=VARCHAR}, status = #{status,jdbcType=TINYINT}, note = #{note,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_by = #{createBy,jdbcType=VARCHAR}, last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP}, last_update_by = #{lastUpdateBy,jdbcType=VARCHAR}, login_time = #{loginTime,jdbcType=TIMESTAMP}, open_id = #{openId,jdbcType=VARCHAR}, ryid = #{ryid,jdbcType=VARCHAR}, uuid = #{uuid,jdbcType=VARCHAR}, delete_flag = #{deleteFlag,jdbcType=TINYINT}, register_type = #{registerType,jdbcType=TINYINT}, tenant_id = #{tenantId,jdbcType=BIGINT}, face_failure = #{faceFailure,jdbcType=TINYINT}, xa_sync = #{xaSync,jdbcType=TINYINT}, xa_sync_card = #{xaSyncCard,jdbcType=TINYINT}, xa_sync_image = #{xaSyncImage,jdbcType=TINYINT}, camera_param = #{cameraParam,jdbcType=VARCHAR}, source_file = #{sourceFile,jdbcType=VARCHAR}, where person_id = #{personId,jdbcType=BIGINT} delete from ten_person where person_id = #{personId,jdbcType=BIGINT} update ten_person set delete_flag = 1 where person_id = #{personId}