提交 | 用户 | age
|
4fd200
|
1 |
package com.hz.phis.vo.returnVisitRecord; |
c4454c
|
2 |
|
R |
3 |
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
4 |
import com.hx.util.DateUtil; |
|
5 |
import com.hx.util.MapUtil; |
|
6 |
import lombok.Data; |
|
7 |
|
|
8 |
import java.util.*; |
|
9 |
|
|
10 |
/** |
|
11 |
* 回访列表返回dto |
4fd200
|
12 |
* @author CJH |
c4454c
|
13 |
*/ |
R |
14 |
@Data |
4fd200
|
15 |
public class ReturnVisitListVo { |
c4454c
|
16 |
|
4fd200
|
17 |
/**用户id*/ |
c4454c
|
18 |
private String userId; |
4fd200
|
19 |
/**用户名称*/ |
c4454c
|
20 |
private String userName; |
4fd200
|
21 |
/**员工标识*/ |
c4454c
|
22 |
private String corpId; |
4fd200
|
23 |
/**员工名称*/ |
c4454c
|
24 |
private String corpName; |
R |
25 |
|
4fd200
|
26 |
/**计划日期*/ |
c4454c
|
27 |
private Date planTime; |
4fd200
|
28 |
/**回访时间*/ |
c4454c
|
29 |
private Date returnVisitTime; |
4fd200
|
30 |
/**完成时间*/ |
c4454c
|
31 |
private Date doneTime; |
5cf332
|
32 |
/***计划周期**/ |
R |
33 |
private Integer cycleDay; |
c4454c
|
34 |
|
4fd200
|
35 |
/**用户生日*/ |
c4454c
|
36 |
private String birthDay; |
4fd200
|
37 |
/**CIQ*/ |
c4454c
|
38 |
private String CIQ; |
4fd200
|
39 |
/**会员号*/ |
c4454c
|
40 |
private String memberNO; |
4fd200
|
41 |
/**手机号*/ |
c4454c
|
42 |
private String tel; |
bec1cc
|
43 |
/**用户外部联系人编号*/ |
C |
44 |
private String externalUserId; |
c4454c
|
45 |
|
4fd200
|
46 |
/**渠道来源*/ |
c4454c
|
47 |
private String channelType; |
4fd200
|
48 |
/**渠道来源*/ |
c4454c
|
49 |
private String channelType2; |
4fd200
|
50 |
/**顾问名称*/ |
c4454c
|
51 |
private String cnName; |
R |
52 |
|
|
53 |
// --- 取值第一个 todo |
4fd200
|
54 |
/**回访状态 0未回访 1已回访*/ |
c4454c
|
55 |
private Integer returnVisitStatus; |
4fd200
|
56 |
/**完成状态 0未完成 1已完成 2已取消*/ |
c4454c
|
57 |
private Integer doneStatus; |
4fd200
|
58 |
/**超时状态 0未超时 1已超时*/ |
c4454c
|
59 |
private Integer timeoutStatus; |
4fd200
|
60 |
/**回访结果 0 未知 1回访成功 2回访失败*/ |
c4454c
|
61 |
private Integer visitResultStatus; |
4fd200
|
62 |
/**回访是否满意 0 未知 1满意 2不满意*/ |
c4454c
|
63 |
private Integer satisfiedStatus; |
4fd200
|
64 |
|
c4454c
|
65 |
//--- 取值第一个 todo |
R |
66 |
|
4fd200
|
67 |
/**回访情况(员工回访时候填写)*/ |
c4454c
|
68 |
private String situation; |
4fd200
|
69 |
/**回访备注(员工回访时候填写)*/ |
c4454c
|
70 |
private String visitRemark; |
R |
71 |
|
2578ce
|
72 |
//--- 取值第一个 todo |
C |
73 |
/**创建类型*/ |
|
74 |
private Integer createPersonType; |
|
75 |
/**回访标识*/ |
|
76 |
private String returnVisitId; |
|
77 |
|
c4454c
|
78 |
/*** 回访列表子数据**/ |
4fd200
|
79 |
private List<ReturnVisitListItemVo> itemList = new ArrayList<>(); |
c4454c
|
80 |
|
R |
81 |
|
4fd200
|
82 |
//---查询额外返回的参数 |
C |
83 |
/**id*/ |
c4454c
|
84 |
private String id; |
4fd200
|
85 |
/**用户所属门店标识 返回*/ |
c4454c
|
86 |
private String shopId ; |
4fd200
|
87 |
/**用户所属门店名称*/ |
c4454c
|
88 |
private String shopName ; |
4fd200
|
89 |
/**回访类型 字典id"*/ |
c4454c
|
90 |
private String returnVisitType; |
4fd200
|
91 |
/**回访类型名称*/ |
c4454c
|
92 |
private String returnVisitTypeName; |
R |
93 |
|
4fd200
|
94 |
/**回访方式 字典id*/ |
c4454c
|
95 |
private String returnVisitMethod ; |
4fd200
|
96 |
/**回访方式名称*/ |
c4454c
|
97 |
private String returnVisitMethodName; |
4fd200
|
98 |
/**创建人*/ |
c4454c
|
99 |
private String createPersonName; |
R |
100 |
|
|
101 |
|
4fd200
|
102 |
public ReturnVisitListVo() { |
c4454c
|
103 |
} |
R |
104 |
|
4fd200
|
105 |
public ReturnVisitListVo(Map<String,Object> recordMap) { |
c4454c
|
106 |
this.userId = MapUtil.getString(recordMap,"userId"); |
R |
107 |
this.userName = MapUtil.getString(recordMap,"userName"); |
|
108 |
this.corpId = MapUtil.getString(recordMap,"corpId"); |
|
109 |
this.corpName = MapUtil.getString(recordMap,"corpName"); |
|
110 |
this.planTime = DateUtil.parseString_2(recordMap.get("planTime").toString()); |
|
111 |
this.returnVisitTime = DateUtil.parseString_1(MapUtil.getString(recordMap,"returnVisitTime")); |
|
112 |
this.doneTime = DateUtil.parseString_1(MapUtil.getString(recordMap,"doneTime")); |
|
113 |
this.birthDay = MapUtil.getString(recordMap,"birthDay"); |
|
114 |
this.CIQ = MapUtil.getString(recordMap,"CIQ"); |
|
115 |
this.memberNO = MapUtil.getString(recordMap,"memberNO"); |
|
116 |
this.tel = MapUtil.getString(recordMap,"tel"); |
|
117 |
this.channelType = MapUtil.getString(recordMap,"channelType"); |
|
118 |
this.channelType2 = MapUtil.getString(recordMap,"channelType2"); |
|
119 |
this.cnName = MapUtil.getString(recordMap,"cnName"); |
|
120 |
this.returnVisitStatus = MapUtil.getInt(recordMap,"returnVisitStatus"); |
|
121 |
this.doneStatus = MapUtil.getInt(recordMap,"doneStatus"); |
|
122 |
this.timeoutStatus = MapUtil.getInt(recordMap,"timeoutStatus"); |
|
123 |
this.visitResultStatus = MapUtil.getInt(recordMap,"visitResultStatus"); |
|
124 |
this.satisfiedStatus = MapUtil.getInt(recordMap,"satisfiedStatus"); |
|
125 |
this.situation = MapUtil.getString(recordMap,"situation"); |
|
126 |
this.visitRemark = MapUtil.getString(recordMap,"visitRemark"); |
5cf332
|
127 |
this.cycleDay = MapUtil.getInt(recordMap,"cycleDay"); |
2578ce
|
128 |
this.createPersonType = MapUtil.getInt(recordMap,"createPersonType"); |
C |
129 |
this.returnVisitId = MapUtil.getString(recordMap,"id"); |
c4454c
|
130 |
} |
R |
131 |
|
|
132 |
} |