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 | 35 +++++++++++++++++++++++++++++++----
1 files changed, 31 insertions(+), 4 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 6e659d4..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
@@ -97,7 +97,7 @@
@TableField("snap_type")
private String snapType;
- @Column(name = "plate_snap_type", columnDefinition = "varchar(40) COMMENT '杞︾墝璇嗗埆鎶撴媿鏂瑰紡'")
+ @Column(name = "plate_snap_type", columnDefinition = "varchar(40) COMMENT '鎶撳浘璇嗗埆'")
@TableField("plate_snap_type")
private String plateSnapType;
@@ -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