|
@@ -265,8 +265,8 @@ func DeductTripRemainingtimesByUser(user *models.WxUserItem, activityInfo *model
|
|
err = errors.New("AddCygxActivitySpecialPermissionPoints, Err:" + e.Error())
|
|
err = errors.New("AddCygxActivitySpecialPermissionPoints, Err:" + e.Error())
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ return
|
|
}
|
|
}
|
|
- return
|
|
|
|
} else {
|
|
} else {
|
|
condition = " AND company_id = ? AND points > 0 ORDER BY points DESC LIMIT 1 "
|
|
condition = " AND company_id = ? AND points > 0 ORDER BY points DESC LIMIT 1 "
|
|
pars = append(pars, companyId)
|
|
pars = append(pars, companyId)
|