orc-order-v2/logs/app.core.excel.processor.log

58 lines
7.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2025-08-16 00:52:16,835 - app.core.excel.processor - INFO - 使用输出目录: E:\2025Code\python\orc-order-v2\data\output
2025-08-16 00:52:16,839 - app.core.excel.processor - INFO - 使用临时目录: E:\2025Code\python\orc-order-v2\data\temp
2025-08-16 00:52:16,847 - app.core.excel.processor - INFO - 初始化ExcelProcessor完成模板文件: templates/银豹-采购单模板.xls
2025-08-16 00:52:16,877 - app.core.excel.processor - INFO - 搜索目录 data/output 中的Excel文件
2025-08-16 00:52:16,886 - app.core.excel.processor - INFO - 找到最新的Excel文件: data/output\7a3a78a02fcf6ccef5daad31bd50bdf2.xlsx
2025-08-16 00:52:16,895 - app.core.excel.processor - INFO - 开始处理Excel文件: data/output\7a3a78a02fcf6ccef5daad31bd50bdf2.xlsx
2025-08-16 00:52:16,934 - app.core.excel.processor - INFO - 成功读取Excel文件: data/output\7a3a78a02fcf6ccef5daad31bd50bdf2.xlsx, 共 10 行
2025-08-16 00:52:16,935 - app.core.excel.processor - INFO - 找到可能的表头行: 第1行评分: 60
2025-08-16 00:52:16,941 - app.core.excel.processor - INFO - 识别到表头在第 1 行
2025-08-16 00:52:16,965 - app.core.excel.processor - INFO - 使用表头行重新读取数据,共 9 行有效数据
2025-08-16 00:52:16,974 - app.core.excel.processor - INFO - 找到精确匹配的条码列: 商品条码
2025-08-16 00:52:16,988 - app.core.excel.processor - INFO - 使用条码列: 商品条码
2025-08-16 00:52:17,003 - app.core.excel.processor - INFO - 找到name列: 商品名称
2025-08-16 00:52:17,016 - app.core.excel.processor - INFO - 找到specification列: 规格型号
2025-08-16 00:52:17,032 - app.core.excel.processor - INFO - 找到quantity列: 数量
2025-08-16 00:52:17,049 - app.core.excel.processor - INFO - 找到unit列: 单位
2025-08-16 00:52:17,064 - app.core.excel.processor - INFO - 找到price列: 单价
2025-08-16 00:52:17,079 - app.core.excel.processor - INFO - 找到amount列: 金额
2025-08-16 00:52:17,094 - app.core.excel.processor - INFO - 检测到列映射: {'barcode': '商品条码', 'name': '商品名称', 'specification': '规格型号', 'quantity': '数量', 'unit': '单位', 'price': '单价', 'amount': '金额'}
2025-08-16 00:52:17,110 - app.core.excel.processor - INFO - 从映射列解析规格: 500ml*15 -> 包装数量=15
2025-08-16 00:52:17,177 - app.core.excel.processor - INFO - 从映射列解析规格: 600mL*15 -> 包装数量=15
2025-08-16 00:52:17,252 - app.core.excel.processor - INFO - 从映射列解析规格: 600ml*15 -> 包装数量=15
2025-08-16 00:52:17,314 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-08-16 00:52:17,373 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-08-16 00:52:17,431 - app.core.excel.processor - INFO - 从映射列解析规格: 900ml*12 -> 包装数量=12
2025-08-16 00:52:17,493 - app.core.excel.processor - INFO - 从映射列解析规格: 950ml*12 -> 包装数量=12
2025-08-16 00:52:17,549 - app.core.excel.processor - INFO - 从映射列解析规格: 480ml*15 -> 包装数量=15
2025-08-16 00:52:17,610 - app.core.excel.processor - INFO - 提取到 8 个商品信息
2025-08-16 00:52:17,634 - app.core.excel.processor - INFO - 开始处理8 个产品信息
2025-08-16 00:52:17,644 - app.core.excel.processor - INFO - 处理商品: 条码=6970399922365, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-08-16 00:52:17,659 - app.core.excel.processor - INFO - 发现正常商品条码6970399922365, 数量=15.0, 单价=4.533333333333333
2025-08-16 00:52:17,675 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703833, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-08-16 00:52:17,692 - app.core.excel.processor - INFO - 发现正常商品条码6937003703833, 数量=15.0, 单价=4.533333333333333
2025-08-16 00:52:17,707 - app.core.excel.processor - INFO - 处理商品: 条码=6937003706346, 数量=15.0, 单价=4.533333333333333, 是否赠品=False
2025-08-16 00:52:17,723 - app.core.excel.processor - INFO - 发现正常商品条码6937003706346, 数量=15.0, 单价=4.533333333333333
2025-08-16 00:52:17,738 - app.core.excel.processor - INFO - 处理商品: 条码=6973003703413, 数量=24.0, 单价=3.75, 是否赠品=False
2025-08-16 00:52:17,753 - app.core.excel.processor - INFO - 发现正常商品条码6973003703413, 数量=24.0, 单价=3.75
2025-08-16 00:52:17,768 - app.core.excel.processor - INFO - 处理商品: 条码=6975176784785, 数量=24.0, 单价=3.75, 是否赠品=False
2025-08-16 00:52:17,784 - app.core.excel.processor - INFO - 发现正常商品条码6975176784785, 数量=24.0, 单价=3.75
2025-08-16 00:52:17,800 - app.core.excel.processor - INFO - 处理商品: 条码=6937003708876, 数量=12.0, 单价=3.75, 是否赠品=False
2025-08-16 00:52:17,815 - app.core.excel.processor - INFO - 发现正常商品条码6937003708876, 数量=12.0, 单价=3.75
2025-08-16 00:52:17,830 - app.core.excel.processor - INFO - 处理商品: 条码=6937003703826, 数量=12.0, 单价=6.083333333333333, 是否赠品=False
2025-08-16 00:52:17,845 - app.core.excel.processor - INFO - 发现正常商品条码6937003703826, 数量=12.0, 单价=6.083333333333333
2025-08-16 00:52:17,859 - app.core.excel.processor - INFO - 处理商品: 条码=6970399920415, 数量=5.0, 单价=0, 是否赠品=True
2025-08-16 00:52:17,876 - app.core.excel.processor - INFO - 发现赠品条码6970399920415, 数量=5.0
2025-08-16 00:52:17,891 - app.core.excel.processor - INFO - 分组后共8 个不同条码的商品
2025-08-16 00:52:17,906 - app.core.excel.processor - INFO - 条码 6970399922365 处理结果正常商品数量15.0单价4.533333333333333赠品数量0
2025-08-16 00:52:17,923 - app.core.excel.processor - INFO - 条码 6937003703833 处理结果正常商品数量15.0单价4.533333333333333赠品数量0
2025-08-16 00:52:17,939 - app.core.excel.processor - INFO - 条码 6937003706346 处理结果正常商品数量15.0单价4.533333333333333赠品数量0
2025-08-16 00:52:17,955 - app.core.excel.processor - INFO - 条码 6973003703413 处理结果正常商品数量24.0单价3.75赠品数量0
2025-08-16 00:52:17,970 - app.core.excel.processor - INFO - 条码 6975176784785 处理结果正常商品数量24.0单价3.75赠品数量0
2025-08-16 00:52:17,987 - app.core.excel.processor - INFO - 条码 6937003708876 处理结果正常商品数量12.0单价3.75赠品数量0
2025-08-16 00:52:17,994 - app.core.excel.processor - INFO - 条码 6937003703826 处理结果正常商品数量12.0单价6.083333333333333赠品数量0
2025-08-16 00:52:18,012 - app.core.excel.processor - INFO - 条码 6970399920415 处理结果:只有赠品,数量=5.0
2025-08-16 00:52:18,029 - app.core.excel.processor - INFO - 条码 6970399920415 填充:仅有赠品,采购量=0赠品数量=5.0
2025-08-16 00:52:18,051 - app.core.excel.processor - INFO - 采购单已保存到: data/result\采购单_7a3a78a02fcf6ccef5daad31bd50bdf2.xls
2025-08-16 00:52:18,082 - app.core.excel.processor - INFO - 采购单已保存到: data/result\采购单_7a3a78a02fcf6ccef5daad31bd50bdf2.xls