From b6b7eb71bf61f90874e5699ec849362fb725cb99 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 02 八月 2023 14:06:06 +0800 Subject: [PATCH] 增加合同管理搜索条件 --- api/v1/serviceContract.go | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/v1/serviceContract.go b/api/v1/serviceContract.go index 8cb3e92..52b188f 100644 --- a/api/v1/serviceContract.go +++ b/api/v1/serviceContract.go @@ -26,7 +26,6 @@ if !ok { return } - errCode, serviceContract := checkServiceContractParams(params.ServiceContract) if errCode != ecode.OK { ctx.Fail(errCode) @@ -164,7 +163,7 @@ return } - serviceContracts, total, errCode := serviceContractService.GetServiceContractList(params.Page, params.PageSize, params.Keyword) + serviceContracts, total, errCode := serviceContractService.GetServiceContractList(params.Page, params.PageSize, params.QueryClass, params.KeywordType, params.Keyword) if errCode != ecode.OK { ctx.Fail(errCode) return @@ -174,4 +173,4 @@ List: serviceContracts, Count: int(total), }) -} \ No newline at end of file +} -- Gitblit v1.8.0