components: examples: AccessPath: value: placeholder: "" AccessPathAddReq: value: placeholder: "" AccessPathDeleteReq: value: placeholder: "" AccessPathDeleteReqItem: value: placeholder: "" AccessPathGetReq: value: placeholder: "" AccessPathListReq: value: placeholder: "" AccessPathUpdateReq: value: placeholder: "" DeviceLockRelate: value: placeholder: "" DeviceLockRelateAddReq: value: placeholder: "" DeviceLockRelateListReq: value: placeholder: "" DeviceLockRelateUpdateReq: value: placeholder: "" IdReq: value: placeholder: "" IdsReq: value: placeholder: "" ObjLock: value: placeholder: "" RecordHistory: value: placeholder: "" RecordHistoryAddReq: value: placeholder: "" RecordHistoryListReq: value: placeholder: "" UserLock: value: placeholder: "" UserLockaccess: value: placeholder: "" UserLockaccessAddReq: value: placeholder: "" UserLockaccessDeleteReq: value: placeholder: "" UserLockaccessGetReq: value: placeholder: "" UserLockaccessListReq: value: placeholder: "" UserLockaccessUpdateReq: value: placeholder: "" success: summary: 请求成功 value: code: 200 msg: success schemas: AccessPath: type: object description: "" AccessPathAddReq: type: object description: "" properties: lockId: type: array description: | 门禁ID items: type: string description: | 门禁ID objId: type: string description: | 设备ID或房间ID(实验室) objName: type: string description: | 设备名称或房间名称(实验室) objType: type: integer description: | 对象类型 0 仪器设备 1房间(实验室) AccessPathDeleteReq: type: array description: "" items: type: object description: "" properties: objId: type: string description: | 设备ID或房间ID(实验室) objType: type: integer description: | 对象类型 0 仪器设备 1房间(实验室) ref: lims_adapter/model/access.AccessPathDeleteReqItem AccessPathDeleteReqItem: type: object description: "" properties: objId: type: string description: | 设备ID或房间ID(实验室) objType: type: integer description: | 对象类型 0 仪器设备 1房间(实验室) AccessPathGetReq: type: object description: "" properties: objId: type: string description: | 设备ID或房间ID(实验室) objType: type: integer description: | 对象类型 0 仪器设备 1房间(实验室) AccessPathListReq: type: object description: | Fill with you ideas below. properties: lockId: type: string description: | 门禁ID objName: type: string description: | 设备名称或房间名称(实验室) objType: type: integer description: | 对象类型 0 仪器设备 1房间(实验室) AccessPathUpdateReq: type: object description: "" properties: lockId: type: array description: | 门禁ID items: type: string description: | 门禁ID objId: type: string description: | 设备ID或房间ID(实验室) objName: type: string description: | 设备名称或房间名称(实验室) objType: type: integer description: | 对象类型 0 仪器设备 1房间(实验室) DeviceLockRelate: type: object description: "" DeviceLockRelateAddReq: type: object description: "" properties: deviceId: type: string description: | 锁设备ID(原始MacID) lockId: type: string description: | 门禁ID lockName: type: string description: | 门禁名称 platformConfigId: type: string description: | 设备平台配置Id platformType: type: integer description: | 设备平台类型 0 大数华创 1 海康威视 required: - deviceId - lockId - lockName - platformType DeviceLockRelateListReq: type: object description: | Fill with you ideas below. properties: deviceId: type: string description: | 锁设备ID(原始MacID) lockId: type: string description: | 门禁ID lockName: type: string description: | 门禁名称 platformConfigId: type: string description: | 设备平台配置Id platformType: type: integer description: | 设备平台类型 0 大数华创 1 海康威视 DeviceLockRelateUpdateReq: type: object description: "" properties: id: type: integer description: "" lockName: type: string description: | 门禁名称 required: - id IdReq: type: object description: "" properties: id: type: integer description: "" required: - id IdsReq: type: object description: "" properties: id: type: array description: "" items: type: integer description: "" required: - id ObjLock: type: object description: "" properties: lock: type: array description: "" items: type: object description: "" ref: lims_adapter/model/access.DeviceLockRelate objId: type: string description: | 设备ID或房间ID(实验室) objName: type: string description: | 设备名称或房间名称(实验室) objType: type: integer description: | 对象类型 0 仪器设备 1房间(实验室) RecordHistory: type: object description: "" RecordHistoryAddReq: type: object description: "" properties: channelCode: type: string description: | 传感器编号(门禁ID) channelName: type: string description: | 传感器名(门禁名称) createOn: type: string description: |- 开锁时间 DATETIME dataItem: type: string description: | 设备类型 31:扫码智能锁, 33:人脸识别智能锁 deviceId: type: string description: | 设备id deviceName: type: string description: | 设备名 isSend: type: integer description: | 是否发送成功 0成功,1失败,2未发送 message: type: string description: | 消息 发送消息内容 projectAccount: type: string description: | 开锁人员账号 projectAccountName: type: string description: | 指令发送发送对象 人脸识别智能锁、智能锁,历史原因字段有误 projectSourse: type: string description: | 项目来源,所属系统 mcs、biobank、lims sendTo: type: string description: | 发送账号名称 历史原因字段有误 RecordHistoryListReq: type: object description: | Fill with you ideas below. properties: channelCode: type: string description: | 传感器编号(门禁ID) channelName: type: string description: | 传感器名(门禁名称) createOnEnd: type: string description: |- 开锁时间 DATETIME createOnStart: type: string description: |- 开锁时间 DATETIME dataItem: type: string description: | 设备类型 31:扫码智能锁, 33:人脸识别智能锁 deviceId: type: string description: | 设备id deviceName: type: string description: | 设备名 isSend: type: integer description: | 是否发送成功 0成功,1失败,2未发送 projectAccount: type: string description: | 开锁人员账号 projectAccountName: type: string description: | 指令发送发送对象 人脸识别智能锁、智能锁,历史原因字段有误 projectSourse: type: string description: | 项目来源,所属系统 mcs、biobank、lims sendTo: type: string description: | 发送账号名称 历史原因字段有误 UserLock: type: object description: "" properties: lock: type: array description: "" items: type: object description: "" ref: lims_adapter/model/access.DeviceLockRelate userId: type: integer description: "" userName: type: string description: "" UserLockaccess: type: object description: "" UserLockaccessAddReq: type: object description: "" properties: lockId: type: array description: | 门禁ID items: type: string description: | 门禁ID userId: type: integer description: "" required: - userId UserLockaccessDeleteReq: type: object description: "" properties: userId: type: array description: "" items: type: integer description: "" UserLockaccessGetReq: type: object description: "" properties: userId: type: integer description: "" required: - userId UserLockaccessListReq: type: object description: "" properties: lockId: type: string description: | 门禁ID userId: type: integer description: | 用户ID userName: type: string description: | 用户名 UserLockaccessUpdateReq: type: object description: "" properties: lockId: type: array description: | 门禁ID items: type: string description: | 门禁ID userId: type: integer description: "" required: - userId securitySchemes: basicAuth: scheme: basic type: http bearerAuth: scheme: bearer type: http info: description: labsop title: labsop version: 0.0.1 openapi: 3.0.0 paths: /AccessPath.Add: post: operationId: AccessPathAdd requestBody: content: application/json: examples: AccessPathAddReq: $ref: '#/components/examples/AccessPathAddReq' schema: oneOf: - $ref: '#/components/schemas/AccessPathAddReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 新增 tags: - 通路设备 /AccessPath.Delete: post: operationId: AccessPathDelete requestBody: content: application/json: examples: AccessPathDeleteReq: $ref: '#/components/examples/AccessPathDeleteReq' schema: oneOf: - $ref: '#/components/schemas/AccessPathDeleteReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 删除 tags: - 通路设备 /AccessPath.Get: post: operationId: AccessPathGet requestBody: content: application/json: examples: AccessPathGetReq: $ref: '#/components/examples/AccessPathGetReq' schema: oneOf: - $ref: '#/components/schemas/AccessPathGetReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 查询 tags: - 通路设备 /AccessPath.List: post: operationId: AccessPathList requestBody: content: application/json: examples: AccessPathListReq: $ref: '#/components/examples/AccessPathListReq' schema: oneOf: - $ref: '#/components/schemas/AccessPathListReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 查询 tags: - 通路设备 /AccessPath.Update: post: operationId: AccessPathUpdate requestBody: content: application/json: examples: AccessPathUpdateReq: $ref: '#/components/examples/AccessPathUpdateReq' schema: oneOf: - $ref: '#/components/schemas/AccessPathUpdateReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 更新 tags: - 通路设备 /DeviceLockRelate.Add: post: operationId: DeviceLockRelateAdd requestBody: content: application/json: examples: DeviceLockRelateAddReq: $ref: '#/components/examples/DeviceLockRelateAddReq' schema: oneOf: - $ref: '#/components/schemas/DeviceLockRelateAddReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 新增 tags: - 门禁列表 /DeviceLockRelate.Delete: post: operationId: DeviceLockRelateDelete requestBody: content: application/json: examples: IdsReq: $ref: '#/components/examples/IdsReq' schema: oneOf: - $ref: '#/components/schemas/IdsReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 删除 tags: - 门禁列表 /DeviceLockRelate.Get: post: operationId: DeviceLockRelateGet requestBody: content: application/json: examples: IdReq: $ref: '#/components/examples/IdReq' schema: oneOf: - $ref: '#/components/schemas/IdReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 查询 tags: - 门禁列表 /DeviceLockRelate.List: post: operationId: DeviceLockRelateList requestBody: content: application/json: examples: DeviceLockRelateListReq: $ref: '#/components/examples/DeviceLockRelateListReq' schema: oneOf: - $ref: '#/components/schemas/DeviceLockRelateListReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 查询 tags: - 门禁列表 /DeviceLockRelate.Update: post: operationId: DeviceLockRelateUpdate requestBody: content: application/json: examples: DeviceLockRelateUpdateReq: $ref: '#/components/examples/DeviceLockRelateUpdateReq' schema: oneOf: - $ref: '#/components/schemas/DeviceLockRelateUpdateReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 更新 tags: - 门禁列表 /RecordHistory.Add: post: operationId: RecordHistoryAdd requestBody: content: application/json: examples: RecordHistoryAddReq: $ref: '#/components/examples/RecordHistoryAddReq' schema: oneOf: - $ref: '#/components/schemas/RecordHistoryAddReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 新增 tags: - 门禁访问历史记录 /RecordHistory.Delete: post: operationId: RecordHistoryDelete requestBody: content: application/json: examples: IdsReq: $ref: '#/components/examples/IdsReq' schema: oneOf: - $ref: '#/components/schemas/IdsReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 删除 tags: - 门禁访问历史记录 /RecordHistory.List: post: operationId: RecordHistoryList requestBody: content: application/json: examples: RecordHistoryListReq: $ref: '#/components/examples/RecordHistoryListReq' schema: oneOf: - $ref: '#/components/schemas/RecordHistoryListReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 查询 tags: - 门禁访问历史记录 /UserLockaccess.Add: post: operationId: UserLockaccessAdd requestBody: content: application/json: examples: UserLockaccessAddReq: $ref: '#/components/examples/UserLockaccessAddReq' schema: oneOf: - $ref: '#/components/schemas/UserLockaccessAddReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 新增 tags: - 用户门禁权限设置 /UserLockaccess.Delete: post: operationId: UserLockaccessDelete requestBody: content: application/json: examples: UserLockaccessDeleteReq: $ref: '#/components/examples/UserLockaccessDeleteReq' schema: oneOf: - $ref: '#/components/schemas/UserLockaccessDeleteReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 删除 tags: - 用户门禁权限设置 /UserLockaccess.Get: post: operationId: UserLockaccessGet requestBody: content: application/json: examples: UserLockaccessGetReq: $ref: '#/components/examples/UserLockaccessGetReq' schema: oneOf: - $ref: '#/components/schemas/UserLockaccessGetReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 查询 tags: - 用户门禁权限设置 /UserLockaccess.List: post: operationId: UserLockaccessList requestBody: content: application/json: examples: UserLockaccessListReq: $ref: '#/components/examples/UserLockaccessListReq' schema: oneOf: - $ref: '#/components/schemas/UserLockaccessListReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 查询 tags: - 用户门禁权限设置 /UserLockaccess.Update: post: operationId: UserLockaccessUpdate requestBody: content: application/json: examples: UserLockaccessUpdateReq: $ref: '#/components/examples/UserLockaccessUpdateReq' schema: oneOf: - $ref: '#/components/schemas/UserLockaccessUpdateReq' required: true responses: "200": content: application/json: examples: success: $ref: '#/components/examples/success' description: 请求成功 summary: 更新 tags: - 用户门禁权限设置 security: - bearerAuth: []