|
@@ -854,6 +854,11 @@ func YiDongSignAppointmentsForThird(cont context.Context) (err error) {
|
|
|
if len(listSignUp) == 0 {
|
|
|
continue
|
|
|
}
|
|
|
+ var companyIds []int
|
|
|
+ for _, vS := range listSignUp {
|
|
|
+ companyIds = append(companyIds, vS.CompanyId)
|
|
|
+ }
|
|
|
+ sellNameMap := GetSellNameMapByCompanyIds(companyIds)
|
|
|
for _, vS := range listSignUp {
|
|
|
if vS.SignupType == 1 {
|
|
|
outCallStatus = "1"
|
|
@@ -869,6 +874,7 @@ func YiDongSignAppointmentsForThird(cont context.Context) (err error) {
|
|
|
PersonName: vS.RealName,
|
|
|
JoinRole: "2",
|
|
|
CompanyName: vS.CompanyName,
|
|
|
+ Extend1: sellNameMap[vS.CompanyId],
|
|
|
OutCallStatus: outCallStatus,
|
|
|
}
|
|
|
postData, e := json.Marshal(params)
|
|
@@ -929,6 +935,7 @@ type SignAppointmentsForThirdParam struct {
|
|
|
CompanyName string `description:"公司名" json:"companyName"`
|
|
|
JoinRole string `description:"1:嘉宾, 2:普通参会人员, 3:会议助理。不传默认取值2" json:"joinRole"`
|
|
|
OutCallStatus string `description:"1:需要,0:不需要。不传取默认值0" json:"outCallStatus"`
|
|
|
+ Extend1 string `description:"对口销售" json:"extend1"`
|
|
|
}
|
|
|
|
|
|
type YiDongSignAppointmentsForThirdResp struct {
|