放宽入库条件判断
This commit is contained in:
parent
b6057dd0a1
commit
c907ee0972
|
@ -223,7 +223,7 @@ class Csv extends AbstractProcessing implements ProcessingInterface{
|
|||
foreach($this->getLines() as $line)
|
||||
{
|
||||
foreach($line as $k=>$v)
|
||||
if ($v=="") $line[$k]=null;
|
||||
if ($v=="" || is_null($v)) $line[$k]=null;
|
||||
$sth->execute($line);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue