修复ISO 19115中不能保存元数据series的问题
This commit is contained in:
parent
f5d73ba015
commit
8c450f4baa
|
@ -256,7 +256,7 @@ class ISO19115
|
||||||
else {
|
else {
|
||||||
$sql="insert into en.series (name) values(?)";
|
$sql="insert into en.series (name) values(?)";
|
||||||
$db->query($sql,array($ds['seriesName']));
|
$db->query($sql,array($ds['seriesName']));
|
||||||
$sid=$db->lastInsertId('series','id');
|
$sid=$db->lastInsertId('en.series','id');
|
||||||
}
|
}
|
||||||
$sql="insert into en.dataseries (id,sid) values(?,?)";
|
$sql="insert into en.dataseries (id,sid) values(?,?)";
|
||||||
$db->query($sql,array($id,$sid));
|
$db->query($sql,array($id,$sid));
|
||||||
|
|
Loading…
Reference in New Issue