From a758523beef6c6c22273fddcd8ee3ffd28246e4a Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 25 Oct 2024 09:44:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/svc_medium_qualification.go | 6 +++--- go.mod | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/svc/svc_medium_qualification.go b/app/svc/svc_medium_qualification.go index 3c38b09..a2c958e 100644 --- a/app/svc/svc_medium_qualification.go +++ b/app/svc/svc_medium_qualification.go @@ -18,7 +18,7 @@ func MediumQualificationEnterprise(c *gin.Context, minState int, req md.MediumQu MediumListDb := implement.NewMediumListDb(engine) user := GetUser(c) appIds := GetMediumIdStr(c, user.AdmId, req.Name, "") - MediumList, total, _ := MediumListDb.FindMediumList(c.GetString("mid"), appIds, req.State, minState, utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) + MediumList, total, _ := MediumListDb.FindMediumList(c.GetString("mid"), "", appIds, req.State, minState, utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) data := make([]md.MediumQualificationEnterpriseData, 0) if len(MediumList) > 0 { NewMediumDb := implement2.NewMediumDb(MasterDb(c)) @@ -96,7 +96,7 @@ func MediumQualificationBank(c *gin.Context, req md.MediumQualificationEnterpris MediumListDb := implement.NewMediumBankInfoDb(engine) user := GetUser(c) appIds := GetMediumIdStr(c, user.AdmId, req.Name, "") - MediumList, total, _ := MediumListDb.FindMediumBankInfoList(c.GetString("mid"), appIds, req.State, utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) + MediumList, total, _ := MediumListDb.FindMediumBankInfoList(c.GetString("mid"), "", appIds, req.State, utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) list := make([]md.MediumQualificationBankData, 0) if MediumList != nil { @@ -181,7 +181,7 @@ func MediumQualificationContactInfo(c *gin.Context, req md.MediumQualificationEn MediumListDb := implement.NewMediumContactInfoDb(engine) user := GetUser(c) appIds := GetMediumIdStr(c, user.AdmId, req.Name, "") - MediumList, total, _ := MediumListDb.FindMediumContactInfoList(c.GetString("mid"), appIds, req.State, utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) + MediumList, total, _ := MediumListDb.FindMediumContactInfoList(c.GetString("mid"), "", appIds, req.State, utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) list := make([]md.MediumQualificationContactData, 0) if MediumList != nil { diff --git a/go.mod b/go.mod index 66b6a0b..7dc2192 100644 --- a/go.mod +++ b/go.mod @@ -36,7 +36,7 @@ require ( require ( code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git v1.1.21-0.20240830072333-a1980ffb256e - code.fnuoos.com/zhimeng/model.git v0.0.3-0.20241024124640-d373e083503a + code.fnuoos.com/zhimeng/model.git v0.0.3-0.20241025014113-d86cf0dcee0e github.com/jinzhu/copier v0.4.0 )