From 20ca649b9f0fa0af0361024149dee6833858c2fa Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期二, 15 八月 2023 17:12:27 +0800
Subject: [PATCH] fix
---
service/serviceOrder.go | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/service/serviceOrder.go b/service/serviceOrder.go
index cdfe5d9..8de6e57 100644
--- a/service/serviceOrder.go
+++ b/service/serviceOrder.go
@@ -30,13 +30,15 @@
return ecode.OK
}
-func (ServiceOrderService) GetServiceOrderList(page, pageSize int, queryClass constvar.ServiceOrderQueryClass, keywordType constvar.ServiceOrderKeywordType, keyword string) ([]*model.ServiceOrder, int64, int) {
+func (ServiceOrderService) GetServiceOrderList(page, pageSize int, queryClass constvar.ServiceOrderQueryClass, keywordType constvar.ServiceOrderKeywordType, keyword string, serviceContractId, salesDetailsId int) ([]*model.ServiceOrder, int64, int) {
list, total, err := model.NewServiceOrderSearch().
SetPage(page, pageSize).
SetKeyword(keyword).
SetKeywordType(keywordType).
SetQueryClass(queryClass).
SetPreload(true).
+ SetServiceContractId(serviceContractId).
+ SetSalesDetailsId(salesDetailsId).
Find()
if err != nil {
return nil, 0, ecode.DBErr
--
Gitblit v1.8.0