From 8f2ce95165f90e51d41b083610d00ae346f3a852 Mon Sep 17 00:00:00 2001 From: kunlong-luo <kunlong_luo@163.com> Date: 星期四, 02 二月 2023 14:36:19 +0800 Subject: [PATCH] fix: 修复空指针和类型转换问题 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java index f3a197c..373b971 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/SyncStatus.java @@ -1,14 +1,20 @@ package com.genersoft.iot.vmp.gb28181.bean; +import io.swagger.v3.oas.annotations.media.Schema; + /** * 鎽勫儚鏈哄悓姝ョ姸鎬� * @author lin */ +@Schema(description = "鎽勫儚鏈哄悓姝ョ姸鎬�") public class SyncStatus { + @Schema(description = "鎬绘暟") private int total; + @Schema(description = "褰撳墠鏇存柊澶氬皯") private int current; + @Schema(description = "閿欒鎻忚堪") private String errorMsg; - + @Schema(description = "鏄惁鍚屾涓�") private boolean syncIng; public int getTotal() { -- Gitblit v1.8.0