refactor&test&docs: 优化代码结构,新增测试与项目文档
- 重构核心业务代码:优化audit_page.py、device_detail_processor.py、dj-loadExcelData.py,提取通用函数简化重复逻辑,移除print中的emoji优化日志显示 - 新增4个单元测试文件,覆盖Excel表单匹配、设备明细处理、财务数据导入等场景,完善测试覆盖率 - 新增项目交接文档与同步日志文件,补充项目维护所需的文档资料 - 更新.gitignore添加Python虚拟环境忽略规则,修改config.yaml中的GPS数据库连接地址与端口 - 调整业务数据Excel文件的增删处理,适配2026年最新的业务拆分数据
Showing
61 changed files
with
354 additions
and
117 deletions
docs/交接/01_项目交接文档.md
0 → 100644
This diff is collapsed.
Click to expand it.
docs/交接/02_代码解析与页面数据流.md
0 → 100644
This diff is collapsed.
Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
project/import.log
0 → 100644
File mode changed
project/matchlog.log
0 → 100644
File mode changed
project/sync_audit_basic_data.log
0 → 100644
test/test_device_detail_processor_output.py
0 → 100644
test/test_device_detail_processor_sn.py
0 → 100644
test/test_dijia_finance_import.py
0 → 100644
test/test_edun_sheet_matching.py
0 → 100644
-
Please register or sign in to post a comment