feat: add material matching logic for discrete material plan cleaner
- Add db/materials_to_delete.py for querying materials to delete by manager - Add manager_name parameter to DiscreteMaterialPlanCleaner - Implement material keyword matching logic in process_order - Update file paths from orderID.txt to ProductionID.txt Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
3
main.py
3
main.py
@@ -15,13 +15,12 @@ def main():
|
||||
)
|
||||
|
||||
# 设置文件路径
|
||||
order_id_file = os.path.join(os.path.dirname(__file__), "orderID.txt")
|
||||
order_id_file = os.path.join(os.path.dirname(__file__), "ProductionID.txt")
|
||||
output_file = r"D:/python/playwrite/data/离散备料计划维护_合并.xlsx"
|
||||
|
||||
# 执行提取
|
||||
extractor.extract(order_id_file, output_file)
|
||||
|
||||
input("按回车退出...")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user