xingzai 2 vuotta sitten
vanhempi
commit
139e35909d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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