问题: - 导入成功条数显示为负数 - 原因:成功数量计算使用 validRecords.size() - failures.size() - 但没有使用实际的数据库操作返回值 修复: - saveBatchWithUpsert 和 saveBatch 方法现在返回 int - 累加实际的数据库影响行数 - 使用 actualSuccessCount 变量跟踪真实成功数量 影响范围: - CcdiIntermediaryPersonImportServiceImpl - CcdiIntermediaryEntityImportServiceImpl
38 lines
777 B
JSON
38 lines
777 B
JSON
{
|
|
"name": "end-of-stream",
|
|
"version": "1.4.5",
|
|
"description": "Call a callback when a readable/writable/duplex stream has completed or failed.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mafintosh/end-of-stream.git"
|
|
},
|
|
"dependencies": {
|
|
"once": "^1.4.0"
|
|
},
|
|
"scripts": {
|
|
"test": "node test.js"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"keywords": [
|
|
"stream",
|
|
"streams",
|
|
"callback",
|
|
"finish",
|
|
"close",
|
|
"end",
|
|
"wait"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/mafintosh/end-of-stream/issues"
|
|
},
|
|
"homepage": "https://github.com/mafintosh/end-of-stream",
|
|
"main": "index.js",
|
|
"author": "Mathias Buus <mathiasbuus@gmail.com>",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"tape": "^4.11.0"
|
|
}
|
|
}
|