c4c4ccc7e9
2.新增项目批量停用、材料批量修改功能
55 lines
1.4 KiB
Python
55 lines
1.4 KiB
Python
"""
|
|
后台任务模块统一导出入口
|
|
|
|
本模块统一导出所有后台任务函数,保持向后兼容。
|
|
所有原有导入方式仍然有效。
|
|
|
|
导出的任务包括:
|
|
- 通用功能: update_jiandaoyun, approve_workflow
|
|
- 品牌任务: create_brand_background
|
|
- 删除任务: delete_history_background, delete_customer_background, delete_car_background
|
|
- 客户任务: modify_customer_info_background
|
|
"""
|
|
# 通用功能
|
|
from app.tasks.common import update_jiandaoyun, approve_workflow
|
|
|
|
# 品牌相关任务
|
|
from app.tasks.brand_tasks import create_brand_background
|
|
|
|
# 删除相关任务
|
|
from app.tasks.delete_tasks import (
|
|
delete_history_background,
|
|
delete_customer_background,
|
|
delete_car_background
|
|
)
|
|
|
|
# 客户相关任务
|
|
from app.tasks.customer_tasks import modify_customer_info_background
|
|
|
|
# BI相关任务
|
|
from app.tasks.bi_tasks import bi_task_background
|
|
|
|
from app.tasks.material_tasks import ( \
|
|
batch_modify_materials,
|
|
batch_disable_projects
|
|
)
|
|
|
|
__all__ = [
|
|
# 通用功能
|
|
'update_jiandaoyun',
|
|
'approve_workflow',
|
|
# 品牌任务
|
|
'create_brand_background',
|
|
# 删除任务
|
|
'delete_history_background',
|
|
'delete_customer_background',
|
|
'delete_car_background',
|
|
# 客户任务
|
|
'modify_customer_info_background',
|
|
# BI任务
|
|
'bi_task_background',
|
|
# 项目材料任务
|
|
'batch_disable_projects',
|
|
'batch_modify_materials',
|
|
]
|