|
@@ -167,7 +167,7 @@ func GetArticleUserInterviewApplyCount(userId int) (count int, err error) {
|
|
|
func GetArticleUserInterviewApplyList(startSize, pageSize, userId int) (items []*ArticleInterviewApplyList, err error) {
|
|
|
sql := `SELECT a.* FROM cygx_interview_apply AS a
|
|
|
WHERE a.user_id=?
|
|
|
- ORDER BY a.sort ASC LIMIT ?,? `
|
|
|
+ ORDER BY a.status ASC LIMIT ?,? `
|
|
|
_, err = orm.NewOrm().Raw(sql, userId, startSize, pageSize).QueryRows(&items)
|
|
|
return
|
|
|
}
|