Explorar el Código

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

zhangchuanxing hace 4 días
padre
commit
78e11ef6dd
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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