From 06c0b03df2955475fe39ff2a793a5f151f4da99f Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 17 八月 2023 19:25:30 +0800 Subject: [PATCH] Merge branch 'master' into fly --- api/v1/serviceContract.go | 21 --------------------- 1 files changed, 0 insertions(+), 21 deletions(-) diff --git a/api/v1/serviceContract.go b/api/v1/serviceContract.go index 99bfb1e..012aa4b 100644 --- a/api/v1/serviceContract.go +++ b/api/v1/serviceContract.go @@ -121,27 +121,6 @@ ctx.Ok() } -// check params -func checkServiceContractParams(serviceContract request.ServiceContract) (errCode int, result model.ServiceContract) { - result.Number = serviceContract.Number - result.MemberId = serviceContract.MemberId - result.Remark = serviceContract.Remark - result.ClientId = serviceContract.ClientId - result.SalesDetailsId = serviceContract.SalesDetailsId - result.SaleChanceId = serviceContract.SaleChanceId - result.QuotationId = serviceContract.QuotationId - result.ServiceContractTypeId = serviceContract.TypeId - result.ServiceContractStatusId = serviceContract.StatusId - result.ServiceTimes = serviceContract.ServiceTimes - result.Terms = serviceContract.Terms - result.Products = serviceContract.Products - result.SignTime = serviceContract.SignTime - result.StartTime = serviceContract.StartTime - result.EndTime = serviceContract.EndTime - - return ecode.OK, result -} - // List // // @Tags ServiceContract -- Gitblit v1.8.0