|
@@ -712,7 +712,7 @@ func (this *HomeController) NewList() {
|
|
|
|
|
|
articleTypesCond := ``
|
|
articleTypesCond := ``
|
|
if articleTypes != "" {
|
|
if articleTypes != "" {
|
|
- articleTypesCond += ` AND art.sub_category_name In (`+ activityTypes +`) `
|
|
|
|
|
|
+ articleTypesCond += ` AND art.sub_category_name In (`+ articleTypes +`) `
|
|
}
|
|
}
|
|
//activityTypesCond := ``
|
|
//activityTypesCond := ``
|
|
//if activityTypes != "" {
|
|
//if activityTypes != "" {
|
|
@@ -720,11 +720,11 @@ func (this *HomeController) NewList() {
|
|
//}
|
|
//}
|
|
industriesCond := ``
|
|
industriesCond := ``
|
|
if industries != "" {
|
|
if industries != "" {
|
|
- industriesCond += ` AND sub_category_name In (`+ activityTypes +`) `
|
|
|
|
|
|
+ industriesCond += ` AND im.industry_name In (`+ industries +`) `
|
|
}
|
|
}
|
|
subjectNamesCond := ``
|
|
subjectNamesCond := ``
|
|
if subjectNames != "" {
|
|
if subjectNames != "" {
|
|
- subjectNamesCond += ` AND sub_category_name In (`+ activityTypes +`) `
|
|
|
|
|
|
+ subjectNamesCond += ` AND is.subject_name In (`+ subjectNames +`) `
|
|
}
|
|
}
|
|
|
|
|
|
articleIntIds, err := models.GetCygxCygxArticleListByCondition(articleTypesCond, industriesCond, subjectNamesCond)
|
|
articleIntIds, err := models.GetCygxCygxArticleListByCondition(articleTypesCond, industriesCond, subjectNamesCond)
|