国标通道编辑支持仅保存修改的字段

This commit is contained in:
lin
2025-11-06 15:50:42 +08:00
parent f89dee6393
commit 01e72407ac
10 changed files with 198 additions and 66 deletions

View File

@@ -9,7 +9,7 @@ public class RedisPushStreamMessage {
private String app;
private String stream;
private String name;
private boolean status;
private Boolean status;
// 终端所属的虚拟组织
private String groupGbId;
// 终端所属的虚拟组织别名 可选可作为地方同步组织结构到wvp时的关联关系
@@ -31,7 +31,9 @@ public class RedisPushStreamMessage {
push.setGbManufacturer(manufacturer);
push.setGbModel(model);
push.setGbPtzType(ptzType);
push.setGbStatus(status?"ON":"OFF");
if (status != null) {
push.setGbStatus(status?"ON":"OFF");
}
push.setEnableBroadcast(0);
return push;
}