Helius
2021-06-28 3cdddd8bb0a0b2cef27d44629647666579655877
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
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
package com.xzx.gc.model.order;
 
import com.xzx.gc.common.utils.StringUtils;
import com.xzx.gc.entity.OrderAppraiseInfo;
import com.xzx.gc.entity.OrderHomeAppliance;
import com.xzx.gc.entity.RebateRule;
import io.swagger.annotations.ApiModelProperty;
import lombok.Setter;
 
import java.util.List;
 
@Setter
public class OrderInfoVo{
    @ApiModelProperty(value = "订单地址")
    private String address;
 
    @ApiModelProperty(value = "地址区域")
    private String addressArea;
 
    //订单状态(1为待接单,2为服务中,3为待确认,4为待入库,5为完成,6为取消)
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    //订单子状态(1为录入信息,2为支付,3为完成)
    @ApiModelProperty(value = "订单子状态")
    private String orderSecondStatus;
    //订单类型(1为回收,2为代丢)
    @ApiModelProperty(value = "订单类型")
    private String orderType;
 
    @ApiModelProperty(value = "预约时间")
    private String reserveTime;
 
    @ApiModelProperty(value = "预约时间格式带年")
    private String reserveTimeForYear;
 
    @ApiModelProperty(value = "创建用户ID")
    private String createUserId;
 
    @ApiModelProperty(value = "消用户ID")
    private String cancelUserId;
 
    @ApiModelProperty(value = "创建时间")
    private String createTime;
 
    @ApiModelProperty(value = "联系电话(下单人电话)")
    private String relaPhone;
 
 
    @ApiModelProperty(value = "联系人名称(下单人名称)")
    private String relaName;
 
    @ApiModelProperty(value = "经度")
    private String longitude;
 
    @ApiModelProperty(value = "纬度")
    private String latitude;
 
    @ApiModelProperty(value = "订单ID")
    private String orderId;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "创建用户名称")
    private String createUserName;
 
    @ApiModelProperty(value = "接单时间")
    private String receiveTime;
 
    @ApiModelProperty(value = "用户上传图片路径")
    private String orderPic;
 
    @ApiModelProperty(value = "地址ID")
    private String addressId;
 
    @ApiModelProperty(value = "物品总重量")
    private String weight;
 
    @ApiModelProperty(value = "物品总数量")
    private String amount;
 
    @ApiModelProperty(value = "物品总金额")
    private String money;
 
    @ApiModelProperty(value = "入库金额")
    private String storageMoney;
 
    @ApiModelProperty(value = "接单员ID")
    private String receiver;
 
    @ApiModelProperty(value = "接单员姓名")
    private String receiverName;
 
    @ApiModelProperty(value = "接单员拍照图片路径")
    private String takePhonePic;
 
    @ApiModelProperty(value = "接单员电话")
    private String receiverPhone;
 
    @ApiModelProperty("接单员头像")
    private String receiverPhoto;
 
    @ApiModelProperty(value = "取消人电话")
    private String cancelUserPhone;
 
    @ApiModelProperty(value = "取消人姓名")
    private String cancelUserName;
 
    @ApiModelProperty(value = "入库人ID")
    private String storageUserId;
 
    @ApiModelProperty(value = "入库人姓名")
    private String storageUserName;
 
    @ApiModelProperty(value = "入库人电话")
    private String storageUserPhone;
 
    @ApiModelProperty(value = "订单取消原因编码")
    private String cancelReasonCode;
 
    @ApiModelProperty(value = "订单取消原因名称")
    private String cancelReasonName;
 
    private String cancelReason;
 
    @ApiModelProperty(value = "订单物品类型")
    private String itemType;
 
    @ApiModelProperty(value = "订单物品类型名称")
    private String itemTypeName;
 
    @ApiModelProperty(value = "物品单价")
    private String price;
    @ApiModelProperty(value = "物品第二单价")
    private String secondPrice;
 
    @ApiModelProperty(value = "物品类型图片")
    private String picture;
 
    @ApiModelProperty(value = "订单物品集合")
    private List<OrderItemVo> orderItemList;
 
    @ApiModelProperty(value = "订单ID集合")
    private List<String> orderIdList;
 
    @ApiModelProperty(value = "1:充值,2:环保金支出,3环保金收入,4提现5现金收入 6现金支出")
    private String payType;
 
    @ApiModelProperty("距離:單位千米")
    private String distance;
 
    @ApiModelProperty("成交时间")
    private String payTime;
 
    private Short type;
 
    @ApiModelProperty("星级")
    private String star;
    @ApiModelProperty("接单员完成订单数")
    private int completeOrderNum;
 
    @ApiModelProperty("是否已评价")
    private Boolean appraiseFlag;
 
    @ApiModelProperty("评价ID")
    private Long appraiseId;
 
    @ApiModelProperty("整体评价")
    private String appraise;
 
    @ApiModelProperty("排队人数")
    private int  queueNum;
 
    @ApiModelProperty("返利比率")
    private String scale;
 
    @ApiModelProperty(value = "规则ID",hidden = true)
    private Integer ruleId;
 
    @ApiModelProperty("返利金额")
    private String scaleMoney;
 
    @ApiModelProperty("门店ID")
    private Long storeId;
 
    @ApiModelProperty("接单完成时间")
    private String completeTime;
 
    @ApiModelProperty("订单超时时间")
    private String orderTimeOut;
 
    @ApiModelProperty("评分信息")
    private OrderAppraiseInfo orderAppraiseInfo;
 
    @ApiModelProperty("投诉是否已处理0:未处理,1:已处理 空:无投诉")
    private  Integer complaintFlag;
 
    @ApiModelProperty("是否第一次投诉0:是,1:否")
    private  Integer complaintFirstFlag;
 
 
    @ApiModelProperty("省名称")
    private String provinceName;
    @ApiModelProperty("市名称")
    private String cityName;
    @ApiModelProperty("区名称")
    private String townshipName;
 
 
    @ApiModelProperty("围栏ID")
    private String townId;
    //省份id
    private String provinceId;
    //城市id
    private String cityId;
    //区县id
    private String townshipId;
 
 
 
    @ApiModelProperty("回收员所在的区域ID")
    private String receiverAreaId;
 
    @ApiModelProperty("重量返利规则,升序排列 第一条即为最小重量的返利")
    private List<RebateRule> list;
 
 
    @ApiModelProperty("适用物品类型(1:废纸,2:杂纸(多选用逗号隔开)")
    private String productType;
 
 
    @ApiModelProperty("是否第一次下单 0:是,1:否")
    private  int orderFirstFlag;
 
    @ApiModelProperty("3:重量返利 6:阶梯返利")
    private  String ruleType;
 
    @ApiModelProperty("是否已催单 0:是,空:否")
    private  Short orderFastFlag;
 
    @ApiModelProperty("是否展示催单按钮 0:是,空:否")
    private Short orderFastShow;
 
    @ApiModelProperty("围栏名称")
    private String fenceName;
 
    @ApiModelProperty("服务ID")
    private String homeServiceId;
 
    @ApiModelProperty("到家服务名称")
    private String serviceName;
 
 
    @ApiModelProperty("订单后台备注")
    private String note;
 
    @ApiModelProperty("家电信息")
    private OrderHomeAppliance orderHomeAppliance;
 
    @ApiModelProperty("家电信息ID")
    private Long homeApplianceId;
 
    @ApiModelProperty("下单用户的登录电话")
    private String loginPhone;
 
    private  Short changeReceiverFlag;
 
 
    public Short getChangeReceiverFlag() {
        return changeReceiverFlag;
    }
 
    public Long getHomeApplianceId() {
 
        return homeApplianceId;
    }
 
    public String getLoginPhone() {
        return loginPhone;
    }
 
    public OrderHomeAppliance getOrderHomeAppliance() {
        return orderHomeAppliance;
    }
 
    public String getNote() {
        return note;
    }
 
    public String getServiceName() {
        return serviceName;
    }
 
    public String getHomeServiceId() {
        return homeServiceId;
    }
 
    public String getFenceName() {
        return fenceName;
    }
 
    public String getTownId() {
        return townId;
    }
 
    public Short getOrderFastFlag() {
        return orderFastFlag;
    }
 
    public Short getOrderFastShow() {
        return orderFastShow;
    }
 
    public String getRuleType() {
        return ruleType;
    }
 
    public int getOrderFirstFlag() {
        return orderFirstFlag;
    }
 
    public String getProductType() {
        return productType;
    }
 
    public List<RebateRule> getList() {
        return list;
    }
 
    public String getReceiverAreaId() {
        return receiverAreaId;
    }
 
    public Integer getComplaintFlag() {
        return complaintFlag;
    }
 
    public Integer getComplaintFirstFlag() {
        return complaintFirstFlag;
    }
 
    public String getReceiverPhoto() {
        return receiverPhoto;
    }
 
 
    public String getProvinceName() {
        return provinceName;
    }
 
    public String getCityName() {
        return cityName;
    }
 
    public String getTownshipName() {
        return townshipName;
    }
 
    public String getProvinceId() {
        return provinceId;
    }
 
    public String getCityId() {
        return cityId;
    }
 
    public String getTownshipId() {
        return townshipId;
    }
 
    public OrderAppraiseInfo getOrderAppraiseInfo() {
        return orderAppraiseInfo;
    }
 
    public String getOrderTimeOut() {
        return orderTimeOut;
    }
 
    public String getCancelReason() {
        return cancelReason;
    }
 
    public String getCompleteTime() {
        return completeTime;
    }
 
    public Long getStoreId() {
        return storeId;
    }
 
    public String getAppraise() {
        return appraise;
    }
 
    public String getScaleMoney() {
        return scaleMoney;
    }
 
    public Integer getRuleId() {
        return ruleId;
    }
 
    public String getScale() {
        return scale;
    }
 
    public int getQueueNum() {
        return queueNum;
    }
 
    public Boolean getAppraiseFlag() {
        return appraiseFlag;
    }
 
    public Long getAppraiseId() {
        return appraiseId;
    }
 
    public String getStar() {
        return star;
    }
 
    public int getCompleteOrderNum() {
        return completeOrderNum;
    }
 
    public Short getType() {
        return type;
    }
 
    public String getSecondPrice() {
        return secondPrice;
    }
 
    public String getPayTime() {
        return payTime;
    }
 
    public String getDistance() {
        return distance;
    }
 
    public String getPayType() {
        return payType;
    }
 
    public String getAddress() {
        return address;
    }
 
    public String getAddressArea() {
        return addressArea;
    }
 
    public String getOrderStatus() {
        return orderStatus;
    }
 
    public String getOrderSecondStatus() {
        return orderSecondStatus;
    }
 
    public String getOrderType() {
        return orderType;
    }
 
    public String getReserveTime() {
        //将1-9的小时数填充0
        if(StringUtils.isNotBlank(reserveTime)){
            String substring = reserveTime.split(" ")[1].substring(0, 1);
            if(Integer.parseInt(substring)>=1&&Integer.parseInt(substring)<=9&&reserveTime.split(" ")[1].substring(1, 2).equals(":")){
                String s = reserveTime.split(" ")[0] + " 0" + substring + reserveTime.split(" ")[1].substring(1);
            }
        }
        return reserveTime;
    }
 
 
    public String getReceiver() {
        return receiver;
    }
 
    public String getCreateUserId() {
        return createUserId;
    }
 
    public String getCancelUserId() {
        return cancelUserId;
    }
 
    public String getCreateTime() {
        return createTime;
    }
 
    public String getRelaPhone() {
        return relaPhone;
    }
 
    public String getRelaName() {
        return relaName;
    }
 
    public String getLongitude() {
        return longitude;
    }
 
    public String getLatitude() {
        return latitude;
    }
 
    public String getOrderId() {
        return orderId;
    }
 
    public String getRemark() {
        return remark;
    }
 
    public String getCreateUserName() {
        return createUserName;
    }
 
    public String getReceiveTime() {
        return receiveTime;
    }
 
    public String getOrderPic() {
        return orderPic;
    }
 
    public String getAddressId() {
        return addressId;
    }
 
    public String getWeight() {
        return weight;
    }
 
    public String getAmount() {
        return amount;
    }
 
    public String getMoney() {
        return money;
    }
 
    public String getStorageMoney() {
        return storageMoney;
    }
 
 
    public String getReceiverName() {
        return receiverName;
    }
 
    public String getTakePhonePic() {
        return takePhonePic;
    }
 
    public String getReceiverPhone() {
        return receiverPhone;
    }
 
    public String getCancelUserPhone() {
        return cancelUserPhone;
    }
 
    public String getCancelUserName() {
        return cancelUserName;
    }
 
    public String getStorageUserId() {
        return storageUserId;
    }
 
    public String getStorageUserName() {
        return storageUserName;
    }
 
    public String getStorageUserPhone() {
        return storageUserPhone;
    }
 
    public String getCancelReasonCode() {
        return cancelReasonCode;
    }
 
    public String getCancelReasonName() {
        return cancelReasonName;
    }
 
    public String getItemType() {
        return itemType;
    }
 
    public String getItemTypeName() {
        return itemTypeName;
    }
 
    public String getPrice() {
        return price;
    }
 
    public String getPicture() {
        return picture;
    }
 
    public List<OrderItemVo> getOrderItemList() {
        return orderItemList;
    }
 
    public List<String> getOrderIdList() {
        return orderIdList;
    }
 
    public String getReserveTimeForYear() {
        return reserveTimeForYear;
    }
}