From ed55b07e0000d99d0aeb796649077d178256fbb8 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sat, 09 Jan 2021 17:17:08 +0800
Subject: [PATCH] modify
---
zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java | 46 +++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 45 insertions(+), 1 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..07ec313 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
@@ -16,6 +16,28 @@
@ApiModelProperty(value = "状态 0/全部 1/带预约 2/带配料 3/待服务 4/服务中 5/已完成")
private String status;
+ @ApiModelProperty(hidden = true)
+ private Long shopId;
+
+ @ApiModelProperty(hidden = true)
+ private Long userId;
+
+ 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 +51,28 @@
}
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;
+ default:
+ this.status = "";
+ break;
+ }
}
}
--
Gitblit v1.9.1