xingzai il y a 5 mois
Parent
commit
e435b3081f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)