|
@@ -18,7 +18,7 @@ func MediumQualificationEnterprise(c *gin.Context, minState int, req md.MediumQu |
|
|
MediumListDb := implement.NewMediumListDb(engine) |
|
|
MediumListDb := implement.NewMediumListDb(engine) |
|
|
user := GetUser(c) |
|
|
user := GetUser(c) |
|
|
appIds := GetMediumIdStr(c, user.AdmId, req.Name, "") |
|
|
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) |
|
|
data := make([]md.MediumQualificationEnterpriseData, 0) |
|
|
if len(MediumList) > 0 { |
|
|
if len(MediumList) > 0 { |
|
|
NewMediumDb := implement2.NewMediumDb(MasterDb(c)) |
|
|
NewMediumDb := implement2.NewMediumDb(MasterDb(c)) |
|
@@ -96,7 +96,7 @@ func MediumQualificationBank(c *gin.Context, req md.MediumQualificationEnterpris |
|
|
MediumListDb := implement.NewMediumBankInfoDb(engine) |
|
|
MediumListDb := implement.NewMediumBankInfoDb(engine) |
|
|
user := GetUser(c) |
|
|
user := GetUser(c) |
|
|
appIds := GetMediumIdStr(c, user.AdmId, req.Name, "") |
|
|
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) |
|
|
list := make([]md.MediumQualificationBankData, 0) |
|
|
if MediumList != nil { |
|
|
if MediumList != nil { |
|
@@ -181,7 +181,7 @@ func MediumQualificationContactInfo(c *gin.Context, req md.MediumQualificationEn |
|
|
MediumListDb := implement.NewMediumContactInfoDb(engine) |
|
|
MediumListDb := implement.NewMediumContactInfoDb(engine) |
|
|
user := GetUser(c) |
|
|
user := GetUser(c) |
|
|
appIds := GetMediumIdStr(c, user.AdmId, req.Name, "") |
|
|
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) |
|
|
list := make([]md.MediumQualificationContactData, 0) |
|
|
if MediumList != nil { |
|
|
if MediumList != nil { |
|
|