查询作者过滤邮箱为空的数据
This commit is contained in:
@@ -219,7 +219,7 @@ class Article extends Controller
|
||||
|
||||
//获取文章的作者
|
||||
array_push($aRelatedId, $iArticleId);
|
||||
$aWhere = ['article_id' => ['in',$aRelatedId],'state' => 0];
|
||||
$aWhere = ['article_id' => ['in',$aRelatedId],'state' => 0,'email' => ['<>','']];
|
||||
$aAuthor = Db::name('article_author')->field('article_id,author_name,article_author_id,first_name,last_name,email')->where($aWhere)->order('article_id asc')->select();
|
||||
|
||||
//获取期刊信息
|
||||
|
||||
Reference in New Issue
Block a user