fhx
2024-04-02 fc461d133d035d99f1d4a372e0bf33cf41b8bdd8
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
package com.hz.his.dto.appointment;
 
import lombok.Data;
 
import java.util.Date;
 
/**
 * 预约V2版dto
 * @USER: fhx
 * @DATE: 2024/3/27
 **/
@Data
public class AppointmentV2Dto {
 
    /** 操作人类型(OperatorConstants) */
    private Integer opType;
    /** 操作人标识 */
    private String opId;
    /** 操作人角色id(EmployeeRole) */
    private String opRoleId;
 
    /** 预约id */
    private String id;
    private String aptId;
    /** 用户id */
    private String userId;
    /** 门店id */
    private String shopId;
    /** 医生id */
    private String doctorId;
    /** 护士id */
    private String nurseId;
    /** 预约顾问id */
    private String corpUserId;
    /** 活动日期id */
    private String activityDayId;
    /** 面诊房间id */
    private String comRoomId;
    /** 治疗房间id */
    private String treatRoomId;
 
 
    /** 添加模式(Appointment) */
    private Integer addMode;
    /** 就诊类型 */
    private String visitType;
    /** 预约类型 */
    private Integer appType;
    /** 是否转疗 */
    private Integer isSwitch;
    /** 是否MIC同意 */
    private Integer isMicApprove;
    /** 是否特殊客户 */
    private Integer specialUser;
    /** 是否服务医生安排 */
    private Integer obeyTime;
    /** 是否服务时间安排 */
    private Integer obeyDoctor;
    /** 是否发送短信(0:勾选,1:不选) */
    private Integer isSendMsg;
    /** 是否发送到店提醒短信提醒(0:否,1:是) */
    private Integer isArriveSendMsg;
    /** 匹配时间类型:1正常;2开始时间减5分钟;3结束时间减5分钟 */
    private Integer handleNum;
    /** 是否到店 */
    private Integer isArrive;
 
    /** 项目id(多个逗号分隔) */
    private String projectIds;
    /** 项目名称(多个逗号分隔) */
    private String projectNames;
    /** 图片(多个逗号分隔) */
    private String imgUrls;
    /** 备注 */
    private String remark;
    /** 餐食备注 */
    private String mealsRemark;
 
    /** 预约项目json字符串 */
    private String projectJson;
    /** 治疗时间json字符串 */
    private String zlTimeJson;
    /** 设备时间json字符串 */
    private String deviceTimeJson;
    /** 生日日期(yyyy-MM-dd) */
    private String birthday;
 
    /** 开始日期(yyyy-MM-dd) */
    private String arriveDate;
    /** 开始时间 */
    private String startTime;
    /** 结束时间 */
    private String endTime;
 
 
    /** 实际面诊时长(分) */
    private Integer realMzTime;
    /** 等待时长(分) */
    private Integer waitTime;
    private Integer waitDuration;
    /** 沟通时长(分) */
    private Integer gtTime;
    private Integer comDuration;
    /** 面诊时长(分) */
    private Integer mzTime;
    private Integer docComDuration;
    /** 麻敷时长(分) */
    private Integer mfTime;
    private Integer palsyDuration;
    /** 术前时长(分) */
    private Integer sqTime;
    private Integer readyDuration;
    /** 治疗时长(分) */
    private Integer zlTime;
    private Integer treatDuration;
    /** 医生治疗时长(分) */
    private Integer doctorZlTime;
 
    /** 真实沟通时长 */
    private Integer realComDuration;
    /** 真实面诊时长 */
    private Integer realDocComDuration;
    /** 真实预约时长 */
    private Integer realDuration;
    /** 真实手续时长 */
    private Integer realProDuration;
    /** 真实治疗时长 */
    private Integer realTreatDuration;
    /** 真实准备时长 */
    private Integer realReadyDuration;
    /** 真实等待时长 */
    private Integer realWaitDuration;
    /** 真实麻敷时长 */
    private Integer realPalsyDuration;
 
    /** 取消预约凭证文件路径 */
    private String annexUrl;
 
//    /** 编辑预约 - 是否日期有变化(0否1是) */
//    private Integer isDayChange;
//    /** 编辑预约 - 是否项目有变化(0否1是) */
//    private Integer isProjectChange;
//    /** 编辑预约 - 是否医生有变化(0否1是) */
//    private Integer isChangeDoctor;
//    /** 编辑预约 - 是否时间有变化(0否1是) */
//    private Integer isChangeTime;
 
 
    /** 后台操作预约:时长字段赋值统一字段 */
    public void timeFill(){
        this.mzTime = this.docComDuration;
        this.gtTime = this.comDuration;
        this.mfTime = this.palsyDuration;
        this.sqTime = this.readyDuration;
        this.waitTime = this.waitDuration;
        this.zlTime = treatDuration;
    }
}