From c253b555c7905c5136d47cd615ef545fa50cc6ad Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Sun, 20 Feb 2022 21:24:16 +0800 Subject: [PATCH] Merge branch 'api_score_meger' --- zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 104 insertions(+), 0 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 new file mode 100644 index 0000000..1b4373e --- /dev/null +++ b/zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java @@ -0,0 +1,104 @@ +package com.matrix.system.app.dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * @author wzy + * @date 2020-12-24 + **/ +@ApiModel(value = "ServiceOrderListDto", description = "服务单列表参数接收类") +public class ServiceOrderListDto extends BasePageDto{ + + @ApiModelProperty(value = "查询参数") + private String queryKey; + + @ApiModelProperty(value = "状态 0/全部 1/待确认 2/待排班 3/待配料 4/待服务 5/服务中 6/已完成 ") + private String status; + + + @ApiModelProperty(hidden = true) + private Long shopId; + + @ApiModelProperty(hidden = true) + private Long userId; + + @ApiModelProperty(value = "客户ID") + private Long vipId; + + @ApiModelProperty(hidden = true) + private Long companyId; + + public Long getCompanyId() { + return companyId; + } + + public void setCompanyId(Long companyId) { + this.companyId = companyId; + } + + 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; + } + + public void setQueryKey(String queryKey) { + this.queryKey = queryKey; + } + + public String getStatus() { + return status; + } + + public void setStatus(String 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