xingzai 2 år sedan
förälder
incheckning
139e35909d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      services/activity.go

+ 1 - 1
services/activity.go

@@ -1130,7 +1130,7 @@ func IsShowAppointmentByactivityInfo(item *models.ActivityDetail, chartPermissio
 	if activityTypeId == 5 && chartPermissionName == "医药" {
 		isShowAppointment = true
 	}
-	if activityTypeId == 2 || item.IsLimitPeople == 0 {
+	if activityTypeId == 2 && item.IsLimitPeople == 0 {
 		isShowAppointment = true
 	}
 	return