Ver Fonte

Merge branch 'cygx/cygx_14_7' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

zhangchuanxing há 3 dias atrás
pai
commit
78e11ef6dd
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      services/roadshow/calendar.go

+ 3 - 0
services/roadshow/calendar.go

@@ -1153,6 +1153,9 @@ func CheckAddRoadShowCompanyPoint(companyId int, researcherList []*roadshow.Cale
 		points = len(researcherList)
 		if isHaveWangFang {
 			points--
+			if points == 0 {
+				addType = 2
+			}
 		}
 	} else {
 		addType = 2