From 6f5bb2ea91b69651dc51e397887bb1dd4cd5fea8 Mon Sep 17 00:00:00 2001 From: louwenzhi Date: Fri, 15 Oct 2021 11:57:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=9F=E6=9D=90=E6=96=99=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/ap/CustDemandVerDetail.model.go | 1 + models/ap/ap.go | 1 - services/ap/CustDemandVerHead.service.go | 2 +- web/controllers/ap/CustDemandVerHead.rest.go | 1 - web/controllers/ap/ap.go | 1 + web/controllers/me/BomLst.rest.go | 1 + 6 files changed, 4 insertions(+), 3 deletions(-) diff --git a/models/ap/CustDemandVerDetail.model.go b/models/ap/CustDemandVerDetail.model.go index 9e746de..cddb496 100644 --- a/models/ap/CustDemandVerDetail.model.go +++ b/models/ap/CustDemandVerDetail.model.go @@ -107,6 +107,7 @@ type CustomerDeviationDetailItemBomLst struct { Bomlst *me.BomLst `json:"BomLst" xorm:"-"` } + // 比较大小的接口 type ICompare interface { Compare(interface{}) int diff --git a/models/ap/ap.go b/models/ap/ap.go index b02be6e..3e5e121 100644 --- a/models/ap/ap.go +++ b/models/ap/ap.go @@ -29,7 +29,6 @@ type ArtSecondResourceWithDetail struct { ArticleSecondaryResource `xorm:"extend"` SecondaryResource `xorm:"extend"` } - // 原拆料 type CustArticle struct { CustomerId1 string `json:"CustomerId1"` diff --git a/services/ap/CustDemandVerHead.service.go b/services/ap/CustDemandVerHead.service.go index 32bb1d6..641e59e 100644 --- a/services/ap/CustDemandVerHead.service.go +++ b/services/ap/CustDemandVerHead.service.go @@ -280,7 +280,7 @@ type CustDemandVerHeadService interface { * @Function Name : CompareVersionInfoByArtcle *----------------------------------------------------------------------------- * - * @Description : 多版本比较 + * @Description : 多版本比 * * @Function Parameters : customerId 客户编号 * diff --git a/web/controllers/ap/CustDemandVerHead.rest.go b/web/controllers/ap/CustDemandVerHead.rest.go index fac4f62..9c81176 100644 --- a/web/controllers/ap/CustDemandVerHead.rest.go +++ b/web/controllers/ap/CustDemandVerHead.rest.go @@ -657,7 +657,6 @@ func RegisterDeviationAnalysisCustDemandVerHead(party router.Party, path string, }) } - /****************************************************************************** * * @Function Name : RegisterCompareVersionInfoByArtcle diff --git a/web/controllers/ap/ap.go b/web/controllers/ap/ap.go index d743027..a85ebd5 100644 --- a/web/controllers/ap/ap.go +++ b/web/controllers/ap/ap.go @@ -125,6 +125,7 @@ func RegisterRoutes() { //原材料分析 RegisterCompareVersionInfoByArtcle(custdemandverhead, "/compareversionbyartcle", serviceOfCustDemandVerHead.CompareVersionInfoByArtcle) + // DemandToleranceModel的路由组 demandtolerancemodel := party.Party("/demandtolerancemodel") // DemandToleranceModel的服务实例 diff --git a/web/controllers/me/BomLst.rest.go b/web/controllers/me/BomLst.rest.go index 60e07b7..7ef6bfc 100644 --- a/web/controllers/me/BomLst.rest.go +++ b/web/controllers/me/BomLst.rest.go @@ -106,6 +106,7 @@ func RegisterIDOfBomLst(party router.Party, httpMethod string, path string, meth }) } + /****************************************************************************** * * @Function Name : RegisterInsertOneBomLst