放宽批量导入的限制

This commit is contained in:
wlx 2013-11-01 09:14:13 +00:00
parent fff01b40ce
commit 075ff2b2c0
1 changed files with 5 additions and 4 deletions

View File

@ -36,13 +36,14 @@ class RisHandler implements \Reference\Event\RisEvent
$wheresql = array(); $wheresql = array();
$wheresql[] = " title='{$ref['title']}' "; $wheresql[] = " lower(title)=lower('{$ref['title']}') ";
$wheresql[] = " year='{$ref['year']}' "; $wheresql[] = " year='{$ref['year']}' ";
if(isset($ref['publisher'])) //暂时不使用期刊限制
/*if(isset($ref['publisher']))
{ {
$wheresql[] = " publisher='{$ref['publisher']}' "; $wheresql[] = " publisher='{$ref['publisher']}' ";
} }*/
if(count($wheresql) > 0) if(count($wheresql) > 0)
{ {