From b331c9990a0396301e934daffe095f99d62d1c89 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 27 九月 2023 15:58:49 +0800
Subject: [PATCH] 任务获取修改,状态2只返回已开始和已结束的

---
 model/work_order.go |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/model/work_order.go b/model/work_order.go
index 347d0ea..076edef 100644
--- a/model/work_order.go
+++ b/model/work_order.go
@@ -35,6 +35,7 @@
 		StartTimeMax int64
 		StartTimeMin int64
 		StatusList   []OrderStatus
+		WorkOrderIDs []string
 	}
 )
 
@@ -101,6 +102,11 @@
 	return slf
 }
 
+func (slf *OrderSearch) SetWorkOrderIds(workOrderIds []string) *OrderSearch {
+	slf.WorkOrderIDs = workOrderIds
+	return slf
+}
+
 func (slf *OrderSearch) SetId(id uint) *OrderSearch {
 	slf.ID = id
 	return slf

--
Gitblit v1.8.0