From e423d56d730db1baed24f3f7dbbc4141038776b6 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Fri, 18 Jun 2021 22:12:03 +0800
Subject: [PATCH] 修复每日业绩bug和优化赠送业绩计算方式
---
zq-erp/src/main/java/com/matrix/system/app/dto/ServiceOrderListDto.java | 40 +++++++++++++++++++++++++++++++++-------
1 files changed, 33 insertions(+), 7 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 5d2a8de..1b4373e 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,14 +13,37 @@
@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(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;
@@ -56,19 +79,22 @@
this.status = "";
break;
case "1":
+ this.status = "待确认";
+ break;
+ case "2":
this.status = "待预约";
break;
- case "2" :
- this.status = "带配料";
- break;
case "3" :
- this.status = "待服务";
+ this.status = "需配料";
break;
case "4" :
- this.status = "服务中";
+ this.status = "配料完成";
break;
case "5" :
- this.status = "已完成";
+ this.status = "服务中";
+ break;
+ case "6" :
+ this.status = "服务完成";
break;
default:
this.status = "";
--
Gitblit v1.9.1