From f614347a41aa29d5050e3da3a921cdc204c23dde Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期五, 19 四月 2024 15:38:52 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/crm/manager/entity/WeeklyDailyReality.java |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/crm/manager/entity/WeeklyDailyReality.java b/src/main/java/com/zy/crm/manager/entity/WeeklyDailyReality.java
index 7d0b865..1c15589 100644
--- a/src/main/java/com/zy/crm/manager/entity/WeeklyDailyReality.java
+++ b/src/main/java/com/zy/crm/manager/entity/WeeklyDailyReality.java
@@ -5,6 +5,8 @@
 import com.baomidou.mybatisplus.annotations.TableId;
 import com.baomidou.mybatisplus.enums.IdType;
 import com.baomidou.mybatisplus.annotations.TableField;
+import com.zy.crm.common.utils.Synchro;
+import com.zy.crm.manager.service.CstmrService;
 import com.zy.crm.manager.service.WeeklyCostTypesService;
 import com.zy.crm.system.entity.*;
 import com.zy.crm.system.service.*;
@@ -151,6 +153,36 @@
     private String weeklyMatter;
 
     /**
+     * 鐪�
+     */
+    @ApiModelProperty(value= "鐪�")
+    private String province;
+
+    /**
+     * 甯�
+     */
+    @ApiModelProperty(value= "甯�")
+    private String city;
+
+    /**
+     * 鍘�
+     */
+    @ApiModelProperty(value= "鍘�")
+    private String district;
+
+    /**
+     * 闀�
+     */
+    @ApiModelProperty(value= "闀�")
+    private String town;
+
+    /**
+     * 璇︾粏鍦板潃
+     */
+    @ApiModelProperty(value= "璇︾粏鍦板潃")
+    private String addr;
+
+    /**
      * 璐熻矗浜�
      */
     @ApiModelProperty(value= "璐熻矗浜�")
@@ -185,6 +217,13 @@
     @TableId(value = "cstmr_id", type = IdType.INPUT)
     @TableField("cstmr_id")
     private Long cstmrId;
+
+    /**
+     * 鐢叉柟鍗曚綅ID
+     */
+    @ApiModelProperty(value= "鐢叉柟鍗曚綅ID")
+    @TableField("cstmr_name")
+    private String cstmrName;
 
     /**
      * 鏄熸湡
@@ -296,6 +335,15 @@
         return null;
     }
 
+    public String getCstmrId$(){
+        CstmrService service = SpringUtils.getBean(CstmrService.class);
+        Cstmr cstmr = service.selectById(this.cstmrId);
+        if (!Cools.isEmpty(cstmr)){
+            return String.valueOf(cstmr.getName());
+        }
+        return null;
+    }
+
     public String getStatus$(){
         if (null == this.status){ return null; }
         switch (this.status){
@@ -377,5 +425,8 @@
         return null;
     }
 
+    public void sync(Object source) {
+        Synchro.Copy(source, this);
+    }
 
 }

--
Gitblit v1.9.1