From 33e6189c53ca12bcfc59574dfbfa8ec66a6acc8b Mon Sep 17 00:00:00 2001
From: wangmengzhao <1036088376@qq.com>
Date: 星期四, 16 十一月 2023 20:35:50 +0800
Subject: [PATCH] 安装单的优化数据表中新添加update_id,imgurl,修改者的id,图片路径字段,未派单的删除后设备状态更新为未激活,实现用户登录后头像的上传20231116wmz
---
wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/domain/DeviceOrder.java | 29 ++++++++++++++++++++++++++---
1 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/domain/DeviceOrder.java b/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/domain/DeviceOrder.java
index 2e4883e..c8f58af 100644
--- a/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/domain/DeviceOrder.java
+++ b/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/domain/DeviceOrder.java
@@ -1,6 +1,5 @@
package com.ruoyi.iot.domain;
-import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
@@ -8,7 +7,6 @@
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;
-
import java.io.Serializable;
import java.util.Date;
@@ -47,6 +45,10 @@
*/
private Long createUserId;
+ /**
+ * 淇敼鐢ㄦ埛鐨刬d
+ */
+ private Long updateUserId;
/**
* 瀹夎宸ュ悕绉�
*/
@@ -88,7 +90,6 @@
@Excel(name = "棰勭害鏃堕棿")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- @JSONField(format = "yyyy-MM-dd HH:mm:ss")
private Date appointmentTime;
/**
@@ -123,6 +124,11 @@
*/
@Excel(name = "瀹夎宸ョ殑鐘舵��")
private Integer state;
+
+ /**
+ * 鐓х墖鍦板潃
+ */
+ private String imgUrl;
/**
* 鐢ㄦ埛瀵硅薄
@@ -183,6 +189,14 @@
public void setCreateUserId(Long createUserId) {
this.createUserId = createUserId;
+ }
+
+ public Long getUpdateUserId() {
+ return updateUserId;
+ }
+
+ public void setUpdateUserId(Long updateUserId) {
+ this.updateUserId = updateUserId;
}
public String getErectoName() {
@@ -301,6 +315,13 @@
this.suser = suser;
}
+ public String getImgUrl() {
+ return imgUrl;
+ }
+
+ public void setImgUrl(String imgUrl) {
+ this.imgUrl = imgUrl;
+ }
@Override
public String toString() {
@@ -325,6 +346,8 @@
.append("suser", getSuser())
.append("device", getDevice())
.append("createUserId", getCreateUserId())
+ .append("updateUserId", getUpdateUserId())
+ .append("imgUrl", getImgUrl())
.toString();
}
}
--
Gitblit v1.8.0