Andru
2023-11-13 15b55458ee0516748bf472d8f228d19c1d323731
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
package com.hz.his.dto.consultation;
 
import com.fasterxml.jackson.annotation.JsonInclude;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
 
/**
 * 咨询记录dto 新版
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ConsultRecordDto{
 
    //用户id
    private String userId;
    //门店/诊所ID
    private String shopId;
    //咨询类型 0=标准(旧版) 1=初诊 2=复诊
    private Integer consultType;
    //满意度 0=不满意 1=一般 2=满意
    private Integer satisfie;
    //面诊医生id
    private String faceDoctorId;
    //治疗医生id
    private String treatDoctorId;
    //基本信息
    private String content;
    //主要诉求
    private String appealDetail;
    //治疗方案&报价
    private String treatPlanQuote;
    //剂量参数
    private String dosageParams;
    //既往病史
    private String anamnesis;
    //来院前治疗过的项目
    private String hasTreatProjects;
    //是否草稿 0=否 1=是
    private Integer isDraft;
    //创建人类型 0=员工 1=后台
    private Integer adminType;
    //创建人id
    private String adminId;
    //创建人名称
    private String adminName;
    //面诊方案
    private String facePlan;
    //创建时间
    private Date createTime;
    //本次治疗项目 多个逗号分割
    private String treatProjectIds;
    //推荐项目 多个逗号分割
    private String recommendProjectIds;
    //上次治疗医生ID
    private String lastTreatDoctorId;
    //上次治疗项目json字符串 ["项目ID","项目ID"]
    private String lastTreatProjects;
    //咨询方式代码
    private String methodCode;
    //咨询方式名称
    private String methodCodeName;
 
    //------------- 修改传值
    private String id;
 
 
    //------------- 详情返回
    //治疗医生名称
    private String faceDoctorName;
    //治疗医生名称
    private String treatDoctorName;
    //上次治疗医生名称
    private String lastTreatDoctorName;
 
    //------------ 详情返回值补充
    //治疗项目
    private List<Map<String,Object>> treatProjectList;
    //推荐项目
    private List<Map<String,Object>> recommendProjectList;
    //上次治疗项目
    private List<Map<String,Object>> lastTreatProjectList;
 
 
    //-------------- 搜索条件
    //小程序搜索时 有个页面是需要传时间的
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String startTime;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String endTime;
 
    //搜索条件
    //用户名查找
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String userName;
    //客户来源渠道分类
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String channelsTypeId;
    //客户来源一级渠道
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String channelId;
    //客户来源二级渠道
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String channel2Id;
    //咨询师
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String hisCorpUserId;
    //用户顾问名称
    private String hisCorpUserName;
    //手机号
    private String tel;
    //电网咨询师
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String internetCorpUserId;
    //客服
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String chatCorpUserId;
    //创建人
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String createEmployeeId;
    //创建人部门
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String createEmployeePartId;
    //关注活动
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String focusActivityId;
    //到访类型
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String recentVisitType;
    //到访状态
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer recentVisitStatus;
    //是否成交
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isMakeADeal;
 
    //列表接口 小程序也使用 区分是否是从用户详情进去的
    private Integer isDetail;
 
    /**当前页数*/
    private Integer pageNum = 1;
    /**当前页显示条数*/
    private Integer pageSize = 20;
    /**关键字*/
    private String keyWord;
    /**查询方式*/
    private String useType;
    public ConsultRecordDto() {
    }
 
    public String getUserId() {
        return userId;
    }
 
    public void setUserId(String userId) {
        this.userId = userId;
    }
 
    public String getShopId() {
        return shopId;
    }
 
    public void setShopId(String shopId) {
        this.shopId = shopId;
    }
 
    public Integer getConsultType() {
        return consultType;
    }
 
    public void setConsultType(Integer consultType) {
        this.consultType = consultType;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    public String getFaceDoctorId() {
        return faceDoctorId;
    }
 
    public void setFaceDoctorId(String faceDoctorId) {
        this.faceDoctorId = faceDoctorId;
    }
 
    public String getTreatDoctorId() {
        return treatDoctorId;
    }
 
    public void setTreatDoctorId(String treatDoctorId) {
        this.treatDoctorId = treatDoctorId;
    }
 
    public String getAppealDetail() {
        return appealDetail;
    }
 
    public void setAppealDetail(String appealDetail) {
        this.appealDetail = appealDetail;
    }
 
    public String getTreatPlanQuote() {
        return treatPlanQuote;
    }
 
    public void setTreatPlanQuote(String treatPlanQuote) {
        this.treatPlanQuote = treatPlanQuote;
    }
 
    public String getDosageParams() {
        return dosageParams;
    }
 
    public void setDosageParams(String dosageParams) {
        this.dosageParams = dosageParams;
    }
 
    public String getAnamnesis() {
        return anamnesis;
    }
 
    public void setAnamnesis(String anamnesis) {
        this.anamnesis = anamnesis;
    }
 
    public String getHasTreatProjects() {
        return hasTreatProjects;
    }
 
    public void setHasTreatProjects(String hasTreatProjects) {
        this.hasTreatProjects = hasTreatProjects;
    }
 
    public Integer getIsDraft() {
        return isDraft;
    }
 
    public void setIsDraft(Integer isDraft) {
        this.isDraft = isDraft;
    }
 
    public Integer getAdminType() {
        return adminType;
    }
 
    public void setAdminType(Integer adminType) {
        this.adminType = adminType;
    }
 
    public String getAdminId() {
        return adminId;
    }
 
    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }
 
    public String getAdminName() {
        return adminName;
    }
 
    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }
 
    public String getTreatProjectIds() {
        return treatProjectIds;
    }
 
    public void setTreatProjectIds(String treatProjectIds) {
        this.treatProjectIds = treatProjectIds;
    }
 
    public String getRecommendProjectIds() {
        return recommendProjectIds;
    }
 
    public void setRecommendProjectIds(String recommendProjectIds) {
        this.recommendProjectIds = recommendProjectIds;
    }
 
    public List<Map<String, Object>> getTreatProjectList() {
        return treatProjectList;
    }
 
    public void setTreatProjectList(List<Map<String, Object>> treatProjectList) {
        this.treatProjectList = treatProjectList;
    }
 
    public List<Map<String, Object>> getRecommendProjectList() {
        return recommendProjectList;
    }
 
    public void setRecommendProjectList(List<Map<String, Object>> recommendProjectList) {
        this.recommendProjectList = recommendProjectList;
    }
 
    public String getFacePlan() {
        return facePlan;
    }
 
    public void setFacePlan(String facePlan) {
        this.facePlan = facePlan;
    }
 
    public Integer getSatisfie() {
        return satisfie;
    }
 
    public void setSatisfie(Integer satisfie) {
        this.satisfie = satisfie;
    }
 
    public String getFaceDoctorName() {
        return faceDoctorName;
    }
 
    public void setFaceDoctorName(String faceDoctorName) {
        this.faceDoctorName = faceDoctorName;
    }
 
    public String getTreatDoctorName() {
        return treatDoctorName;
    }
 
    public void setTreatDoctorName(String treatDoctorName) {
        this.treatDoctorName = treatDoctorName;
    }
 
    public String getStartTime() {
        return startTime;
    }
 
    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }
 
    public String getEndTime() {
        return endTime;
    }
 
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
 
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public String getUserName() {
        return userName;
    }
 
    public void setUserName(String userName) {
        this.userName = userName;
    }
 
    public String getChannelsTypeId() {
        return channelsTypeId;
    }
 
    public void setChannelsTypeId(String channelsTypeId) {
        this.channelsTypeId = channelsTypeId;
    }
 
    public String getChannelId() {
        return channelId;
    }
 
    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }
 
    public String getChannel2Id() {
        return channel2Id;
    }
 
    public void setChannel2Id(String channel2Id) {
        this.channel2Id = channel2Id;
    }
 
    public String getHisCorpUserId() {
        return hisCorpUserId;
    }
 
    public void setHisCorpUserId(String hisCorpUserId) {
        this.hisCorpUserId = hisCorpUserId;
    }
 
    public String getHisCorpUserName() {
        return hisCorpUserName;
    }
 
    public void setHisCorpUserName(String hisCorpUserName) {
        this.hisCorpUserName = hisCorpUserName;
    }
 
    public String getTel() {
        return tel;
    }
 
    public void setTel(String tel) {
        this.tel = tel;
    }
 
    public String getInternetCorpUserId() {
        return internetCorpUserId;
    }
 
    public void setInternetCorpUserId(String internetCorpUserId) {
        this.internetCorpUserId = internetCorpUserId;
    }
 
    public String getChatCorpUserId() {
        return chatCorpUserId;
    }
 
    public void setChatCorpUserId(String chatCorpUserId) {
        this.chatCorpUserId = chatCorpUserId;
    }
 
    public String getCreateEmployeeId() {
        return createEmployeeId;
    }
 
    public void setCreateEmployeeId(String createEmployeeId) {
        this.createEmployeeId = createEmployeeId;
    }
 
    public String getCreateEmployeePartId() {
        return createEmployeePartId;
    }
 
    public void setCreateEmployeePartId(String createEmployeePartId) {
        this.createEmployeePartId = createEmployeePartId;
    }
 
    public String getFocusActivityId() {
        return focusActivityId;
    }
 
    public void setFocusActivityId(String focusActivityId) {
        this.focusActivityId = focusActivityId;
    }
 
    public String getRecentVisitType() {
        return recentVisitType;
    }
 
    public void setRecentVisitType(String recentVisitType) {
        this.recentVisitType = recentVisitType;
    }
 
    public Integer getRecentVisitStatus() {
        return recentVisitStatus;
    }
 
    public void setRecentVisitStatus(Integer recentVisitStatus) {
        this.recentVisitStatus = recentVisitStatus;
    }
 
    public Integer getIsMakeADeal() {
        return isMakeADeal;
    }
 
    public void setIsMakeADeal(Integer isMakeADeal) {
        this.isMakeADeal = isMakeADeal;
    }
 
    public String getLastTreatDoctorId() {
        return lastTreatDoctorId;
    }
 
    public void setLastTreatDoctorId(String lastTreatDoctorId) {
        this.lastTreatDoctorId = lastTreatDoctorId;
    }
 
    public String getLastTreatProjects() {
        return lastTreatProjects;
    }
 
    public void setLastTreatProjects(String lastTreatProjects) {
        this.lastTreatProjects = lastTreatProjects;
    }
 
    public String getLastTreatDoctorName() {
        return lastTreatDoctorName;
    }
 
    public void setLastTreatDoctorName(String lastTreatDoctorName) {
        this.lastTreatDoctorName = lastTreatDoctorName;
    }
 
    public List<Map<String, Object>> getLastTreatProjectList() {
        return lastTreatProjectList;
    }
 
    public void setLastTreatProjectList(List<Map<String, Object>> lastTreatProjectList) {
        this.lastTreatProjectList = lastTreatProjectList;
    }
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public Integer getPageNum() {
        return pageNum;
    }
 
    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }
 
    public Integer getPageSize() {
        return pageSize;
    }
 
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
 
    public String getKeyWord() {
        return keyWord;
    }
 
    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }
 
    public String getMethodCode() {
        return methodCode;
    }
 
    public void setMethodCode(String methodCode) {
        this.methodCode = methodCode;
    }
 
    public String getMethodCodeName() {
        return methodCodeName;
    }
 
    public void setMethodCodeName(String methodCodeName) {
        this.methodCodeName = methodCodeName;
    }
 
    public String getUseType() {
        return useType;
    }
 
    public void setUseType(String useType) {
        this.useType = useType;
    }
 
    public Integer getIsDetail() {
        return isDetail;
    }
 
    public void setIsDetail(Integer isDetail) {
        this.isDetail = isDetail;
    }
}