From 6a18723546dde63ea93fbe453ae16186c635dac2 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期二, 10 十月 2023 13:48:01 +0800
Subject: [PATCH] #跟进任务
---
src/main/java/com/zy/crm/manager/entity/Plan.java | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/crm/manager/entity/Plan.java b/src/main/java/com/zy/crm/manager/entity/Plan.java
index bf02e74..6516775 100644
--- a/src/main/java/com/zy/crm/manager/entity/Plan.java
+++ b/src/main/java/com/zy/crm/manager/entity/Plan.java
@@ -246,6 +246,12 @@
@ApiModelProperty(value= "涓氬姟鍛樿仈绯绘柟寮�")
private String userXmlSelPhone;
+ /**
+ * 鑺傜偣璐熻矗浜�
+ */
+ @ApiModelProperty(value= "鑺傜偣璐熻矗浜�")
+ private Long director;
+
public Plan() {}
public String getHostId$(){
@@ -257,6 +263,16 @@
return null;
}
+ public String getDirector$(){
+ if (this.director==null) return "";
+ UserService service = SpringUtils.getBean(UserService.class);
+ User user = service.selectById(this.director);
+ if (!Cools.isEmpty(user)){
+ return String.valueOf(user.getNickname());
+ }
+ return null;
+ }
+
public String getDeptId$(){
DeptService service = SpringUtils.getBean(DeptService.class);
Dept dept = service.selectById(this.deptId);
--
Gitblit v1.9.1