Files
ccdi/doc/test-data/purchase_transaction/node_modules/compress-commons/package.json
wkc 5ec5913759 fix: 修复中介导入成功条数计算错误
问题:
- 导入成功条数显示为负数
- 原因:成功数量计算使用 validRecords.size() - failures.size()
- 但没有使用实际的数据库操作返回值

修复:
- saveBatchWithUpsert 和 saveBatch 方法现在返回 int
- 累加实际的数据库影响行数
- 使用 actualSuccessCount 变量跟踪真实成功数量

影响范围:
- CcdiIntermediaryPersonImportServiceImpl
- CcdiIntermediaryEntityImportServiceImpl
2026-02-08 17:18:18 +08:00

46 lines
1.0 KiB
JSON

{
"name": "compress-commons",
"version": "4.1.2",
"description": "a library that defines a common interface for working with archive formats within node",
"homepage": "https://github.com/archiverjs/node-compress-commons",
"author": {
"name": "Chris Talkington",
"url": "http://christalkington.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/archiverjs/node-compress-commons.git"
},
"bugs": {
"url": "https://github.com/archiverjs/node-compress-commons/issues"
},
"license": "MIT",
"main": "lib/compress-commons.js",
"files": [
"lib"
],
"engines": {
"node": ">= 10"
},
"scripts": {
"test": "mocha --reporter dot"
},
"dependencies": {
"buffer-crc32": "^0.2.13",
"crc32-stream": "^4.0.2",
"normalize-path": "^3.0.0",
"readable-stream": "^3.6.0"
},
"devDependencies": {
"chai": "4.3.8",
"mkdirp": "2.1.6",
"mocha": "9.2.2",
"rimraf": "3.0.2"
},
"keywords": [
"compress",
"commons",
"archive"
]
}