refactor(spa): 重构 SPA 报告处理逻辑
-移除了未使用的 diff_spa.py 文件 - 新增了 extract_numeric_value 函数,用于提取字符串中的数字 - 修改了 large_items 和 small_items 的处理逻辑,增加了 VAT 计算 - 优化了总金额的计算方法,只计算有效数据行 - 删除了 requirements.txt 中未使用的依赖项
Showing
cmd/diff_spa.py
deleted
100644 → 0
| ... | ... | @@ -9,6 +9,4 @@ redis==5.0.8 |
| pika==1.3.2 | ||
| xmltodict==0.14.2 | ||
| python-dotenv==1.0.1 | ||
| paramiko==3.5.0 | ||
| ttkbootstrap==1.10.1 | ||
| ldap3==2.9.1 | ||
| \ No newline at end of file | ||
| ttkbootstrap==1.10.1 | ||
| \ No newline at end of file |
Please register or sign in to comment