From fa215acbed2974de77844a0749a68d27076e920b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Sat, 16 Jan 2021 13:53:47 +0800 Subject: [PATCH] Merge branch 'api' of https://gitee.com/jyyforjava/zq-erp into api --- zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java | 73 +++++++++++++++++++++++++++++++++++- 1 files changed, 71 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java b/zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java index e27d06a..5b2679d 100644 --- a/zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java +++ b/zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java @@ -13,8 +13,52 @@ @ApiModelProperty(value = "查询参数") private String queryKey; - @ApiModelProperty(value = "状态 0/全部 1/带预约 2/带配料 3/待服务 4/服务中 5/已完成") + @ApiModelProperty(value = "状态 0/全部 1/待确认 2/待排班 3/待配料 4/待服务 5/服务中 6/已完成 ") private String status; + + @ApiModelProperty(value = "客户视角状态 0/全部 1/待确认 2进行中(待排班/待配料/待服务/服务中) 3/待评价(已完成/服务结束) 4/已评价 5/已取消 ") + private String vipStatus; + + @ApiModelProperty(hidden = true) + private Long shopId; + + @ApiModelProperty(hidden = true) + private Long userId; + + @ApiModelProperty(value = "客户ID") + private Long vipId; + + public String getVipStatus() { + return vipStatus; + } + + public void setVipStatus(String vipStatus) { + this.vipStatus = vipStatus; + } + + public Long getVipId() { + return vipId; + } + + public void setVipId(Long vipId) { + this.vipId = vipId; + } + + public Long getUserId() { + return userId; + } + + public void setUserId(Long userId) { + this.userId = userId; + } + + public Long getShopId() { + return shopId; + } + + public void setShopId(Long shopId) { + this.shopId = shopId; + } public String getQueryKey() { return queryKey; @@ -29,6 +73,31 @@ } public void setStatus(String status) { - this.status = status; + switch (status) { + case "0" : + this.status = ""; + break; + case "1": + this.status = "待确认"; + break; + case "2": + this.status = "待预约"; + break; + case "3" : + this.status = "需配料"; + break; + case "4" : + this.status = "配料完成"; + break; + case "5" : + this.status = "服务中"; + break; + case "6" : + this.status = "服务完成"; + break; + default: + this.status = ""; + break; + } } } -- Gitblit v1.9.1