ソースを参照

更新

master
huangjiajun 1ヶ月前
コミット
a758523bee
2個のファイルの変更4行の追加4行の削除
  1. +3
    -3
      app/svc/svc_medium_qualification.go
  2. +1
    -1
      go.mod

+ 3
- 3
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 {


+ 1
- 1
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
)



読み込み中…
キャンセル
保存