|
@@ -1977,9 +1977,9 @@ func (this *IndustrialSubjectController) ReportMappingAdd() {
|
|
|
br.IsAddLog = true
|
|
|
}
|
|
|
|
|
|
-//func init() {
|
|
|
-// initart()
|
|
|
-//}
|
|
|
+func init() {
|
|
|
+ initart()
|
|
|
+}
|
|
|
|
|
|
func initart() {
|
|
|
//行业
|
|
@@ -2106,6 +2106,12 @@ func initart() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
+ listUserFicc, err := models.GetWxUserRaiSllerListByUserMobileFiic(mobiles)
|
|
|
+ if err != nil {
|
|
|
+ fmt.Println(err)
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
mapuserMapbil := make(map[string]*models.WxUserSller)
|
|
|
var companyIds []int
|
|
|
for _, vuser := range listUser {
|
|
@@ -2130,6 +2136,14 @@ func initart() {
|
|
|
mapuserMapbil[vuser.Mobile] = vuser
|
|
|
}
|
|
|
|
|
|
+ for _, vuser := range listUserFicc {
|
|
|
+ vuser.Status = ""
|
|
|
+ vuser.SellerName = ""
|
|
|
+ if mapuserMapbil[vuser.Mobile] == nil {
|
|
|
+ mapuserMapbil[vuser.Mobile] = vuser
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
if len(list) > 0 {
|
|
|
for _, vPv := range list {
|
|
|
if !utils.ValidateMobileFormatat(vPv.Mobile) || mapMobileCy[vPv.Mobile] {
|