This commit is contained in:
aozhiwei 2023-07-06 14:26:35 +08:00
parent 567a0cc278
commit 6b95277886

View File

@ -69,11 +69,7 @@ class DbEventProcess extends BaseService {
} }
getEndIdx() { getEndIdx() {
if (utils.hasKey(DbEventProcess.#tableMaxIdxHash, this.getTableName())) { return this.getMaxIdx();
return DbEventProcess.#tableMaxIdxHash[this.getTableName()];
} else {
return BigInt(0);
}
} }
getNetId() { getNetId() {
@ -157,7 +153,11 @@ class DbEventProcess extends BaseService {
} }
getMaxIdx() { getMaxIdx() {
return 0; if (utils.hasKey(DbEventProcess.#tableMaxIdxHash, this.getTableName())) {
return DbEventProcess.#tableMaxIdxHash[this.getTableName()];
} else {
return BigInt(0);
}
} }
} }