|
@@ -48,7 +48,7 @@ func GetArticleInterviewApplyUsersCount(articleId int) (count int, err error) {
|
|
|
}
|
|
|
|
|
|
func GetArticleInterviewApply(userId, articleId int) (item *CygxInterviewApply, err error) {
|
|
|
- sql := `SELECT * FROM cygx_article_collect WHERE user_id=? AND article_id=? `
|
|
|
+ sql := `SELECT * FROM cygx_interview_apply WHERE user_id=? AND article_id=? `
|
|
|
err = orm.NewOrm().Raw(sql, userId, articleId).QueryRow(&item)
|
|
|
return
|
|
|
}
|