From 23b57fc7eab3defc741a0e54e3dac939ad49f13f Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 22 五月 2026 19:14:04 +0800
Subject: [PATCH] 新增智能电表、空调管理

---
 server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/YwElectricalLog.java |   97 ++++++++++++++++++++----------------------------
 1 files changed, 41 insertions(+), 56 deletions(-)

diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/YwElectricalLog.java b/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/YwElectricalLog.java
index d5c2816..84e3e3f 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/YwElectricalLog.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/YwElectricalLog.java
@@ -1,7 +1,8 @@
 package com.doumee.dao.business.model;
 
-import com.doumee.core.annotation.excel.ExcelColumn;
-import com.doumee.core.model.LoginUserModel;
+import com.baomidou.mybatisplus.annotation.TableField;
+import  com.doumee.core.annotation.excel.ExcelColumn;
+import  com.doumee.core.model.LoginUserModel;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import com.baomidou.mybatisplus.annotation.IdType;
@@ -10,77 +11,61 @@
 import lombok.Data;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import java.util.Date;
-
+import java.math.BigDecimal;
 /**
- * 鐢靛櫒绫绘搷浣滄棩蹇�
- * @author renkang
- * @date 2026/04/03
+ * 鐢靛櫒绫绘搷浣滄棩蹇桵odel瀹氫箟
+ * @author doumee
+ * @date 2026-05-20 15:25:58
  */
 @Data
-@ApiModel("鐢靛櫒绫绘搷浣滄棩蹇�")
-@TableName("`yw_electrical_log`")
-public class YwElectricalLog extends LoginUserModel {
+@TableName("yw_electrical_log")
+@ApiModel(value = "鐢靛櫒绫绘搷浣滄棩蹇楀疄浣撶被")
+public class YwElectricalLog  extends LoginUserModel {
 
+    @ApiModelProperty("涓婚敭")
+    @ExcelColumn(name="涓婚敭",index=1 ,width=10)
     @TableId(type = IdType.AUTO)
-    @ApiModelProperty(value = "涓婚敭", example = "1")
-    @ExcelColumn(name = "涓婚敭")
     private Integer id;
-
-    @ApiModelProperty(value = "鍒涘缓浜虹紪鐮�", example = "1")
-    @ExcelColumn(name = "鍒涘缓浜虹紪鐮�")
+    @ApiModelProperty("鍒涘缓浜虹紪鐮�")
+    @ExcelColumn(name="鍒涘缓浜虹紪鐮�",index=2 ,width=10)
     private Integer creator;
-
-    @ApiModelProperty(value = "鍒涘缓鏃堕棿")
-    @ExcelColumn(name = "鍒涘缓鏃堕棿")
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @ApiModelProperty("鍒涘缓鏃堕棿")
+    @ExcelColumn(name="鍒涘缓鏃堕棿",index=3 ,width=10)
     private Date createDate;
-
-    @ApiModelProperty(value = "鏇存柊浜虹紪鐮�", example = "1")
-    @ExcelColumn(name = "鏇存柊浜虹紪鐮�")
+    @ApiModelProperty("鏇存柊浜虹紪鐮�")
+    @ExcelColumn(name="鏇存柊浜虹紪鐮�",index=4 ,width=10)
     private Integer editor;
-
-    @ApiModelProperty(value = "鏇存柊鏃堕棿")
-    @ExcelColumn(name = "鏇存柊鏃堕棿")
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @ApiModelProperty("鏇存柊鏃堕棿")
+    @ExcelColumn(name="鏇存柊鏃堕棿",index=5 ,width=10)
     private Date editDate;
-
-    @ApiModelProperty(value = "鏄惁鍒犻櫎0鍚� 1鏄�", example = "0")
-    @ExcelColumn(name = "鏄惁鍒犻櫎0鍚� 1鏄�")
+    @ApiModelProperty("鏄惁鍒犻櫎0鍚� 1鏄�")
+    @ExcelColumn(name="鏄惁鍒犻櫎0鍚� 1鏄�",index=6 ,width=10)
     private Integer isdeleted;
-
-    @ApiModelProperty(value = "澶囨敞")
-    @ExcelColumn(name = "澶囨敞")
+    @ApiModelProperty("澶囨敞")
+    @ExcelColumn(name="澶囨敞",index=7 ,width=10)
     private String remark;
-
-    @ApiModelProperty(value = "璁惧绫诲瀷 0鐢佃〃 1绌鸿皟", example = "0")
-    @ExcelColumn(name = "璁惧绫诲瀷")
+    @ApiModelProperty("璁惧绫诲瀷 0鐢佃〃 1绌鸿皟")
+    @ExcelColumn(name="璁惧绫诲瀷 0鐢佃〃 1绌鸿皟",index=8 ,width=10)
     private Integer deviceType;
-
-    @ApiModelProperty(value = "绫诲瀷 0璋冪敤 1鎺ㄩ�佹帴鍙�", example = "0")
-    @ExcelColumn(name = "绫诲瀷")
+    @ApiModelProperty("绫诲瀷 0璋冪敤 1鎺ㄩ�佹帴鍙�")
+    @ExcelColumn(name="绫诲瀷 0璋冪敤 1鎺ㄩ�佹帴鍙�",index=9 ,width=10)
     private Integer type;
-
-    @ApiModelProperty(value = "鎺ュ彛鍚嶇О")
-    @ExcelColumn(name = "鎺ュ彛鍚嶇О")
+    @ApiModelProperty("鎺ュ彛鍚嶇О")
+    @ExcelColumn(name="鎺ュ彛鍚嶇О",index=10 ,width=10)
     private String name;
-
-    @ApiModelProperty(value = "鍦板潃淇℃伅")
-    @ExcelColumn(name = "鍦板潃淇℃伅")
+    @ApiModelProperty("鍦板潃淇℃伅")
+    @ExcelColumn(name="鍦板潃淇℃伅",index=11 ,width=10)
     private String url;
-
-    @ApiModelProperty(value = "璇锋眰鍙傛暟")
-    @ExcelColumn(name = "璇锋眰鍙傛暟")
+    @ApiModelProperty("璇锋眰鍙傛暟")
+    @ExcelColumn(name="璇锋眰鍙傛暟",index=12 ,width=10)
     private String request;
-
-    @ApiModelProperty(value = "鍝嶅簲鍙傛暟")
-    @ExcelColumn(name = "鍝嶅簲鍙傛暟")
-    private String reponse;
-
-    @ApiModelProperty(value = "璋冪敤缁撴灉 0鎴愬姛 1澶辫触", example = "0")
-    @ExcelColumn(name = "璋冪敤缁撴灉")
+    @ApiModelProperty("鍝嶅簲鍙傛暟")
+    @ExcelColumn(name="鍝嶅簲鍙傛暟",index=13 ,width=10)
+    private String repose;
+    @ApiModelProperty("璋冪敤缁撴灉 0鎴愬姛 1澶辫触")
+    @ExcelColumn(name="璋冪敤缁撴灉 0鎴愬姛 1澶辫触",index=14 ,width=10)
     private Integer success;
-
-    @ApiModelProperty(value = "鍏宠仈瀵硅薄缂栫爜锛堝涓敤鑻辨枃閫楀彿闅斿紑锛�")
-    @ExcelColumn(name = "鍏宠仈瀵硅薄缂栫爜")
+    @ApiModelProperty("鍏宠仈瀵硅薄缂栫爜锛堝涓敤鑻辨枃閫楀彿闅斿紑锛�")
+    @ExcelColumn(name="鍏宠仈瀵硅薄缂栫爜锛堝涓敤鑻辨枃閫楀彿闅斿紑锛�",index=15 ,width=10)
     private String objId;
 }

--
Gitblit v1.9.3