mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 02:13:57 +00:00
fixed replicator for oracle
This commit is contained in:
@@ -130,7 +130,8 @@ class ReplicatorItemHolder {
|
||||
const ref = this.refByColumn[key];
|
||||
if (ref) {
|
||||
// remap id
|
||||
res[key] = ref.ref.idMap[res[key]];
|
||||
const oldId = res[key];
|
||||
res[key] = ref.ref.idMap[oldId];
|
||||
if (ref.isMandatory && res[key] == null) {
|
||||
// mandatory refertence not matched
|
||||
if (this.replicator.options.skipRowsWithUnresolvedRefs) {
|
||||
|
||||
@@ -7,7 +7,7 @@ export function isTypeNumeric(dataType) {
|
||||
}
|
||||
|
||||
export function isTypeFloat(dataType) {
|
||||
return dataType && /float|single|double/i.test(dataType);
|
||||
return dataType && /float|single|double|number/i.test(dataType);
|
||||
}
|
||||
|
||||
export function isTypeNumber(dataType) {
|
||||
|
||||
Reference in New Issue
Block a user