xingzai 2 жил өмнө
parent
commit
139e35909d
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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