xingzai 5 месяцев назад
Родитель
Сommit
e435b3081f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/activity_special.go

+ 1 - 1
services/activity_special.go

@@ -655,7 +655,7 @@ func GetSpecialTripUserSchedule(userId int) (total int, err error) {
 
 // GetActivitySpecialList 获取专项调研列表
 func GetActivitySpecialList(user *models.WxUserItem, currentIndex, pageSize int, keywords string) (list []*models.CygxActivitySpecialDetail, total int, err error) {
-	if user.CompanyId < 1 {
+	if user.CompanyId <= 1 {
 		return
 	}
 	listConfirm, totalConfirm, e := GetActivityLabelSpecialConfirmList(user, (currentIndex-1)*pageSize, pageSize, 4, keywords)