From d7213a839a914134fc7721b5c62ec61af6a7a9f1 Mon Sep 17 00:00:00 2001
From: gongjiale <942894820@qq.com>
Date: Sat, 12 Oct 2024 19:32:31 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=A8=A1=E5=9D=97=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../oil/domain/monitor/OilMonitor.java | 32 ++
.../ruoyi/project/system/domain/SysUser.java | 20 +
.../mybatis/oil/OilMonitorMapper.xml | 15 +-
.../mybatis/system/SysDeptMapper.xml | 2 +-
.../mybatis/system/SysUserMapper.xml | 10 +-
.../src/views/deviceManage/bound/index.vue | 482 ++++++++++--------
ruoyi-ui/src/views/system/user/index.vue | 25 +-
7 files changed, 357 insertions(+), 229 deletions(-)
diff --git a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/oil/domain/monitor/OilMonitor.java b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/oil/domain/monitor/OilMonitor.java
index f602d0c..b197b21 100644
--- a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/oil/domain/monitor/OilMonitor.java
+++ b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/oil/domain/monitor/OilMonitor.java
@@ -41,6 +41,14 @@ public class OilMonitor extends BaseEntity {
*/
private String note;
+ private String status;
+
+
+ private String unitNo;
+
+
+ private String systemNo;
+
private String fileUrl;
@@ -76,6 +84,30 @@ public class OilMonitor extends BaseEntity {
this.monitorName = monitorName;
}
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public String getUnitNo() {
+ return unitNo;
+ }
+
+ public void setUnitNo(String unitNo) {
+ this.unitNo = unitNo;
+ }
+
+ public String getSystemNo() {
+ return systemNo;
+ }
+
+ public void setSystemNo(String systemNo) {
+ this.systemNo = systemNo;
+ }
+
public String getLongitude() {
return longitude;
}
diff --git a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/system/domain/SysUser.java b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/system/domain/SysUser.java
index 974045c..96bd0d2 100644
--- a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/system/domain/SysUser.java
+++ b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/system/domain/SysUser.java
@@ -33,6 +33,10 @@ public class SysUser extends BaseEntity
@Excel(name = "登录名称")
private String userName;
+ private String idCard;
+
+ private String sn;
+
/** 用户昵称 */
@Excel(name = "用户名称")
private String nickName;
@@ -292,6 +296,22 @@ public class SysUser extends BaseEntity
return roleId;
}
+ public String getIdCard() {
+ return idCard;
+ }
+
+ public void setIdCard(String idCard) {
+ this.idCard = idCard;
+ }
+
+ public String getSn() {
+ return sn;
+ }
+
+ public void setSn(String sn) {
+ this.sn = sn;
+ }
+
public void setRoleId(Long roleId)
{
this.roleId = roleId;
diff --git a/RuoYi-Vue-Oracle/src/main/resources/mybatis/oil/OilMonitorMapper.xml b/RuoYi-Vue-Oracle/src/main/resources/mybatis/oil/OilMonitorMapper.xml
index 27e450b..a3e19c7 100644
--- a/RuoYi-Vue-Oracle/src/main/resources/mybatis/oil/OilMonitorMapper.xml
+++ b/RuoYi-Vue-Oracle/src/main/resources/mybatis/oil/OilMonitorMapper.xml
@@ -18,6 +18,9 @@
+
+
+
@@ -79,13 +82,14 @@
@@ -107,6 +111,9 @@ select t.id,t. name,t.sn,t.file_url,t.note,t.create_by,t.create_time,t.address,t
dept_id,
longitude,
latitude,
+ status,
+ unit_no,
+ system_no,
#{monitorName},
@@ -119,6 +126,9 @@ select t.id,t. name,t.sn,t.file_url,t.note,t.create_by,t.create_time,t.address,t
#{deptId},
#{longitude},
#{latitude},
+ #{status},
+ #{unitNo},
+ #{systemNo},
@@ -134,6 +144,9 @@ select t.id,t. name,t.sn,t.file_url,t.note,t.create_by,t.create_time,t.address,t
dept_id=#{deptId},
longitude=#{longitude},
latitude=#{latitude},
+ status=#{status},
+ system_no=#{systemNo},
+ unit_no=#{unitNo},
where id = #{id}
diff --git a/RuoYi-Vue-Oracle/src/main/resources/mybatis/system/SysDeptMapper.xml b/RuoYi-Vue-Oracle/src/main/resources/mybatis/system/SysDeptMapper.xml
index 812e296..3d642a4 100644
--- a/RuoYi-Vue-Oracle/src/main/resources/mybatis/system/SysDeptMapper.xml
+++ b/RuoYi-Vue-Oracle/src/main/resources/mybatis/system/SysDeptMapper.xml
@@ -103,7 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
email,
status,
create_by,
- dept_level,
+ dept_level,
create_time
)values(
#{deptId},
diff --git a/RuoYi-Vue-Oracle/src/main/resources/mybatis/system/SysUserMapper.xml b/RuoYi-Vue-Oracle/src/main/resources/mybatis/system/SysUserMapper.xml
index d1326d8..7d9750a 100644
--- a/RuoYi-Vue-Oracle/src/main/resources/mybatis/system/SysUserMapper.xml
+++ b/RuoYi-Vue-Oracle/src/main/resources/mybatis/system/SysUserMapper.xml
@@ -23,6 +23,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
+
@@ -57,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"