From 096296cd7485c5583c8194d88cca700e3c4d84a0 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期一, 01 十二月 2025 16:50:42 +0800
Subject: [PATCH] 调整基础配置信息查询方式,取消jpa
---
fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/InoutConf.java | 33 ++++++++++++++++++++++++++++++---
1 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/InoutConf.java b/fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/InoutConf.java
index 1a6655e..7b401e6 100644
--- a/fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/InoutConf.java
+++ b/fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/InoutConf.java
@@ -117,8 +117,35 @@
@TableField("remark")
private String remark;
- //寮傚父淇℃伅
- @Transient
- private String errorMsg;
+ public InoutConf() {
+ super();
+ }
+
+ public InoutConf(InoutConf conf) {
+ this.id = conf.getId();
+ this.deptId = conf.getDeptId();
+ this.sort = conf.getSort();
+ this.inOrder = conf.getInOrder();
+ this.inoutProgress = conf.getInoutProgress();
+ this.name = conf.getName();
+ this.sn = conf.getSn();
+ this.ip = conf.getIp();
+ this.port = conf.getPort();
+ this.loginId = conf.getLoginId();
+ this.pwd = conf.getPwd();
+ this.chanNum = conf.getChanNum();
+ this.portCtrl = conf.getPortCtrl();
+ this.type = conf.getType();
+ this.status = conf.getStatus();
+ this.protocol = conf.getProtocol();
+ this.playType = conf.getPlayType();
+ this.snapType = conf.getSnapType();
+ this.mediaAddr = conf.getMediaAddr();
+ this.remark = conf.getRemark();
+ }
+
+ public InoutConf(String sort) {
+ this.sort = sort;
+ }
}
--
Gitblit v1.9.3