|
@@ -6531,6 +6531,17 @@ func initCommpanyList() {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ listNum, err := cygx.GetInteractionNumInitList()
|
|
|
+ if err != nil {
|
|
|
+ fmt.Println(err)
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ mapNum := make(map[int]int)
|
|
|
+ for _, v := range listNum {
|
|
|
+ mapNum[v.CompanyId] = v.InteractionNum
|
|
|
+ }
|
|
|
+
|
|
|
listCompany, err := company.GetOverseasCompanysByCompanyIds(companyIds)
|
|
|
if err != nil {
|
|
|
fmt.Println(err)
|
|
@@ -6632,7 +6643,7 @@ func initCommpanyList() {
|
|
|
cellADatatitle.Value = mapCompamyName[v.CompanyId]
|
|
|
|
|
|
cellADataPd := row.AddCell()
|
|
|
- cellADataPd.Value = fmt.Sprint(mapInteractionNum[v.CompanyId])
|
|
|
+ cellADataPd.Value = fmt.Sprint(mapNum[v.CompanyId])
|
|
|
|
|
|
cellBData := row.AddCell()
|
|
|
cellBData.Value = v.Status
|