feat(shipping-notice): 实现滚动履约功能,优化发货通知流程与代码清理
清理废弃的ShippingCase相关代码与依赖,统一使用ShippingNotice直接关联客户数据。调整库存网关依赖规则,支持仅对库存满足或已人工放行的订单行生成发货Excel,实现滚动履约逻辑。
This commit is contained in:
1 parent
7cfd5d167e
commit
1e5aedb9ed
235 files changed
+11394
-9613
No files matched your search
@@ -5,7 +5,7 @@ backend/app/api/workspace/shipping_notice.py
|
||||
依赖:app.core.auth.jwt、app.core.errors、app.core.response.ok、shipping_notice.query_service /
|
||||
tools / notice_upload / ui_state、shipping_processing_projection。
|
||||
逻辑:薄路由层鉴权与参数校验;成功响应统一走 `_ok`/`ok` envelope;写接口保留乐观锁、幂等键与
|
||||
统一 AppError;人工上传强制证据资产;Chat Turn 履约写路径已废弃,请改走本 Blueprint;
|
||||
统一 AppError;人工上传仅确认唯一 Excel 已上传,不采集回执或凭据;Chat Turn 履约写路径已废弃,请改走本 Blueprint;
|
||||
`/shipping-processing/*` 为统一进度读源;历史 `/shipping-batches*` 已删除;
|
||||
Workflow ledger 路由已整段删除,进度请读 shipping-processing / Run API。
|
||||
"""
|
||||
@@ -586,6 +586,22 @@ def workspace_list_shipping_task_audit_timeline(task_no: str):
|
||||
return _ok(payload)
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-tasks/<task_no>/freight-notice-groups', methods=['GET'])
|
||||
def workspace_shipping_task_freight_notice_groups(task_no: str):
|
||||
"""读取当前 PO 下按 business_no 聚合的货代上传 Notice;仅供订单工作台展示。"""
|
||||
user = _require_user()
|
||||
is_admin = str(getattr(user, 'role', '') or '').lower() == 'admin'
|
||||
from app.services.shipping_notice.query_service import (
|
||||
get_task_visible_to_user,
|
||||
list_freight_notice_groups_for_task,
|
||||
)
|
||||
|
||||
task = get_task_visible_to_user(task_no, user.id, is_admin=is_admin)
|
||||
if not task:
|
||||
raise NotFoundError('Not found')
|
||||
return _ok(list_freight_notice_groups_for_task(task, user_id=int(user.id), is_admin=is_admin))
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-tasks/<task_no>/ui-state', methods=['GET'])
|
||||
def workspace_shipping_task_ui_state(task_no: str):
|
||||
"""
|
||||
@@ -638,7 +654,7 @@ def workspace_update_shipping_notice_fields(task_no: str):
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-freight-cancellations/<int:cancellation_id>/complete', methods=['POST'])
|
||||
def workspace_complete_shipping_freight_cancellation(cancellation_id: int):
|
||||
"""登记货代撤销回执并解除合法后继版本的履约阻断。"""
|
||||
"""登记已取得外部撤销确认并解除合法后继版本的履约阻断。"""
|
||||
user = _require_user()
|
||||
data = request.get_json(silent=True) or {}
|
||||
from app.models import ShippingFreightCancellation
|
||||
@@ -650,9 +666,7 @@ def workspace_complete_shipping_freight_cancellation(cancellation_id: int):
|
||||
raise NotFoundError('Not found')
|
||||
from app.services.shipping_notice.freight_cancellation_service import complete_freight_cancellation
|
||||
row = complete_freight_cancellation(
|
||||
cancellation_id=cancellation.id, actor_id=int(user.id),
|
||||
freight_receipt_no=str(data.get('freight_receipt_no') or ''),
|
||||
receipt_asset_id=data.get('receipt_asset_id'), note=str(data.get('note') or ''),
|
||||
cancellation_id=cancellation.id, actor_id=int(user.id), note=str(data.get('note') or ''),
|
||||
)
|
||||
db.session.commit()
|
||||
return _ok({'id': row.id, 'status': row.status, 'old_task_id': row.old_task_id, 'new_task_id': row.new_task_id})
|
||||
@@ -834,9 +848,10 @@ def workspace_auto_progress_shipping_task(task_no: str):
|
||||
@workspace_shipping_notice_bp.route('/shipping-tasks/<task_no>/mark-manual-uploaded', methods=['POST'])
|
||||
def workspace_mark_manual_uploaded(task_no: str):
|
||||
"""
|
||||
登记人工货代上传;必须提交当前用户已上传的截图或回执 FileAsset 编号。
|
||||
兼容旧 task_no 的人工上传确认;不再提交或记录截图/PDF、货代回执号。
|
||||
|
||||
核心逻辑:委托 upload_to_freight(mode=manual_confirm);禁止 RPA。
|
||||
核心逻辑:仅委托 upload_to_freight(mode=manual_confirm),新客户端必须改用
|
||||
business_no 的 `/shipping-notices/<business_no>/confirm-uploaded`。
|
||||
"""
|
||||
user = _require_user()
|
||||
task = get_task_for_user(task_no, user.id)
|
||||
@@ -852,21 +867,232 @@ def workspace_mark_manual_uploaded(task_no: str):
|
||||
'actor_id': user.id,
|
||||
'_trusted_user_id': user.id,
|
||||
'event_source': 'workspace_api',
|
||||
'evidence_asset_no': data.get('evidence_asset_no'),
|
||||
'freight_ref_no': data.get('freight_ref_no'),
|
||||
'artifact_id': data.get('artifact_id'),
|
||||
}
|
||||
result = shipping_tools.upload_to_freight(payload)
|
||||
if isinstance(result, dict) and str(result.get('status') or '') == 'ok':
|
||||
# 回执先由既有服务原子登记;随后仅提交 upload_receipt_recorded Gate,由服务端复核事实后 completed。
|
||||
# 人工确认已由服务原子登记;随后只推进最终上传 Gate。
|
||||
from app.services.shipping_notice.progress_workflow import run_task_auto_progress
|
||||
|
||||
run_task_auto_progress(
|
||||
str(task.task_no), trigger='manual_upload_receipt_recorded', operator_id=int(user.id),
|
||||
str(task.task_no), trigger='manual_upload_confirmed', operator_id=int(user.id),
|
||||
)
|
||||
return _ok(result)
|
||||
|
||||
|
||||
def _confirm_notice_uploaded(*, business_no: str, user_id: int, artifact_id: int | None = None) -> dict[str, Any]:
|
||||
"""
|
||||
按发货通知单号确认唯一 Excel 已上传;内部 task_no 仅用于既有状态机和审计追溯。
|
||||
|
||||
Args:
|
||||
business_no: 对外发货通知单号,禁止调用方以 task_no 代替。
|
||||
user_id: 当前服务端会话用户。
|
||||
artifact_id: 可选唯一 Excel Artifact 主键;不传时由服务端解析。
|
||||
|
||||
Returns:
|
||||
包含 business_no 和既有上传结果的字典。
|
||||
|
||||
Raises:
|
||||
NotFoundError: 通知单不存在或当前用户无写权限。
|
||||
"""
|
||||
task = get_task_for_user(str(business_no).strip().upper(), user_id)
|
||||
if task is None or str(task.business_no or '').upper() != str(business_no).strip().upper():
|
||||
raise NotFoundError('Shipping notice not found')
|
||||
_assert_fulfillment_task_ownership(task, user_id)
|
||||
from app.services.shipping_notice import tools as shipping_tools
|
||||
|
||||
result = shipping_tools.upload_to_freight({
|
||||
'task_id': task.task_no,
|
||||
'mode': 'manual_confirm',
|
||||
'operator_id': user_id,
|
||||
'actor_id': user_id,
|
||||
'_trusted_user_id': user_id,
|
||||
'event_source': 'workspace_api',
|
||||
'artifact_id': artifact_id,
|
||||
})
|
||||
if isinstance(result, dict) and str(result.get('status') or '') == 'ok':
|
||||
from app.services.shipping_notice.progress_workflow import run_task_auto_progress
|
||||
|
||||
run_task_auto_progress(
|
||||
str(task.task_no), trigger='manual_upload_confirmed', operator_id=user_id,
|
||||
)
|
||||
return {'business_no': str(task.business_no), **dict(result or {})}
|
||||
|
||||
|
||||
def _load_business_notice_for_user(*, business_no: str, user_id: int) -> ShippingNotice:
|
||||
"""
|
||||
按精确发货通知单号加载当前用户可操作的 Notice。
|
||||
|
||||
核心逻辑:先由既有用户归属查询过滤,再二次比较 Notice.business_no;禁止 task_no、
|
||||
历史聚合编号或模糊引用进入新的货代操作入口。
|
||||
|
||||
Args:
|
||||
business_no: 对外发货通知单号。
|
||||
user_id: 当前服务端会话用户主键。
|
||||
|
||||
Returns:
|
||||
当前用户拥有履约写权限的 ShippingNotice。
|
||||
|
||||
Raises:
|
||||
NotFoundError: 编号不存在或用户不可访问。
|
||||
"""
|
||||
normalized = str(business_no or '').strip().upper()
|
||||
task = get_task_for_user(normalized, user_id)
|
||||
if task is None or str(task.business_no or '').strip().upper() != normalized:
|
||||
raise NotFoundError('Shipping notice not found')
|
||||
_assert_fulfillment_task_ownership(task, user_id)
|
||||
return task
|
||||
|
||||
|
||||
def _start_notice_rpa_upload(*, business_no: str, user_id: int, artifact_id: int | None = None) -> dict[str, Any]:
|
||||
"""按 business_no 发起单张通知的货代 RPA 上传或重试。"""
|
||||
task = _load_business_notice_for_user(business_no=business_no, user_id=user_id)
|
||||
from app.services.shipping_notice import tools as shipping_tools
|
||||
|
||||
result = shipping_tools.upload_to_freight({
|
||||
'task_id': task.task_no,
|
||||
'mode': 'retry_upload',
|
||||
'operator_id': user_id,
|
||||
'actor_id': user_id,
|
||||
'_trusted_user_id': user_id,
|
||||
'event_source': 'workspace_api',
|
||||
'artifact_id': artifact_id,
|
||||
})
|
||||
return {'business_no': str(task.business_no), **dict(result or {})}
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notices/<business_no>/confirm-uploaded', methods=['POST'])
|
||||
def workspace_confirm_shipping_notice_uploaded(business_no: str):
|
||||
"""确认一张发货通知单的唯一 Excel 已人工上传,不接收回执号或截图/PDF。"""
|
||||
user = _require_user()
|
||||
data = request.get_json(silent=True) or {}
|
||||
raw_artifact_id = data.get('artifact_id')
|
||||
try:
|
||||
artifact_id = int(raw_artifact_id) if raw_artifact_id is not None else None
|
||||
except (TypeError, ValueError) as exc:
|
||||
raise ValidationError('artifact_id must be an integer') from exc
|
||||
return _ok(_confirm_notice_uploaded(
|
||||
business_no=business_no, user_id=int(user.id), artifact_id=artifact_id,
|
||||
))
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notices/<business_no>/rpa-upload', methods=['POST'])
|
||||
def workspace_start_shipping_notice_rpa_upload(business_no: str):
|
||||
"""按发货通知单号发起 RPA 上传;RPA 成功事实仍由受信回调裁决。"""
|
||||
user = _require_user()
|
||||
data = request.get_json(silent=True) or {}
|
||||
raw_artifact_id = data.get('artifact_id')
|
||||
try:
|
||||
artifact_id = int(raw_artifact_id) if raw_artifact_id is not None else None
|
||||
except (TypeError, ValueError) as exc:
|
||||
raise ValidationError('artifact_id must be an integer') from exc
|
||||
return _ok(_start_notice_rpa_upload(
|
||||
business_no=business_no, user_id=int(user.id), artifact_id=artifact_id,
|
||||
), status=202)
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notices/batch/confirm-uploaded', methods=['POST'])
|
||||
def workspace_batch_confirm_shipping_notices_uploaded():
|
||||
"""批量确认多个通知单已上传;每张通知单独立事务裁决,单项失败不回滚其他单。"""
|
||||
user = _require_user()
|
||||
data = request.get_json(silent=True) or {}
|
||||
raw_values = data.get('business_nos')
|
||||
if not isinstance(raw_values, list):
|
||||
raise ValidationError('business_nos must be a non-empty list')
|
||||
business_nos = list(dict.fromkeys(
|
||||
str(value or '').strip().upper() for value in raw_values if str(value or '').strip()
|
||||
))
|
||||
if not business_nos or len(business_nos) > 100:
|
||||
raise ValidationError('business_nos must contain 1 to 100 business numbers')
|
||||
results: list[dict[str, Any]] = []
|
||||
for business_no in business_nos:
|
||||
try:
|
||||
result = _confirm_notice_uploaded(business_no=business_no, user_id=int(user.id))
|
||||
db.session.commit()
|
||||
results.append({'business_no': business_no, 'status': 'confirmed', 'result': result})
|
||||
except AppError as exc:
|
||||
db.session.rollback()
|
||||
results.append({'business_no': business_no, 'status': 'blocked', 'code': exc.code, 'message': exc.message})
|
||||
except Exception:
|
||||
db.session.rollback()
|
||||
raise
|
||||
return _ok({'results': results})
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notices/batch/rpa-upload', methods=['POST'])
|
||||
def workspace_batch_start_shipping_notice_rpa_upload():
|
||||
"""批量发起 RPA 上传;每个 business_no 独立提交,单项失败不影响其他通知单。"""
|
||||
user = _require_user()
|
||||
data = request.get_json(silent=True) or {}
|
||||
raw_values = data.get('business_nos')
|
||||
if not isinstance(raw_values, list):
|
||||
raise ValidationError('business_nos must be a non-empty list')
|
||||
business_nos = list(dict.fromkeys(
|
||||
str(value or '').strip().upper() for value in raw_values if str(value or '').strip()
|
||||
))
|
||||
if not business_nos or len(business_nos) > 100:
|
||||
raise ValidationError('business_nos must contain 1 to 100 business numbers')
|
||||
results: list[dict[str, Any]] = []
|
||||
for business_no in business_nos:
|
||||
try:
|
||||
result = _start_notice_rpa_upload(business_no=business_no, user_id=int(user.id))
|
||||
db.session.commit()
|
||||
result_status = 'accepted' if str(result.get('status') or '').lower() in {'ok', 'running'} else 'blocked'
|
||||
results.append({'business_no': business_no, 'status': result_status, 'result': result})
|
||||
except AppError as exc:
|
||||
db.session.rollback()
|
||||
results.append({'business_no': business_no, 'status': 'blocked', 'code': exc.code, 'message': exc.message})
|
||||
except Exception:
|
||||
db.session.rollback()
|
||||
raise
|
||||
return _ok({'results': results}, status=202)
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notices/<business_no>/export', methods=['GET'])
|
||||
def workspace_shipping_notice_export(business_no: str):
|
||||
"""按发货通知单号下载该通知唯一的正式 Excel,并保留下载审计。"""
|
||||
user = _require_user()
|
||||
task = _load_business_notice_for_user(business_no=business_no, user_id=int(user.id))
|
||||
err_msg = task_export_error_message(task)
|
||||
if err_msg:
|
||||
raise NotFoundError(err_msg)
|
||||
resolved = resolve_task_export_download(task)
|
||||
assert resolved is not None
|
||||
path, download_name = resolved
|
||||
from app.services.shipping_notice.fulfillment_audit import record_access_audit
|
||||
record_access_audit(
|
||||
action='download_notice_excel',
|
||||
aggregate_type='shipping_notice',
|
||||
aggregate_id=str(task.business_no),
|
||||
actor_id=user.id,
|
||||
task_no=str(task.task_no),
|
||||
reason_code='excel_downloaded',
|
||||
metadata={'business_no': str(task.business_no), 'export': 'excel'},
|
||||
)
|
||||
return send_file(path, as_attachment=True, download_name=download_name, mimetype=EXPORT_MIME_TYPE)
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notices/batch/export', methods=['POST'])
|
||||
def workspace_shipping_notice_export_archive():
|
||||
"""按多个 business_no 下载各自唯一 Excel 的 ZIP;任一越权或缺文件均整体拒绝。"""
|
||||
user = _require_user()
|
||||
data = request.get_json(silent=True) or {}
|
||||
raw_values = data.get('business_nos')
|
||||
if not isinstance(raw_values, list):
|
||||
raise ValidationError('business_nos must be a non-empty list')
|
||||
business_nos = list(dict.fromkeys(
|
||||
str(value or '').strip().upper() for value in raw_values if str(value or '').strip()
|
||||
))
|
||||
if not business_nos or len(business_nos) > 100:
|
||||
raise ValidationError('business_nos must contain 1 to 100 business numbers')
|
||||
from app.services.shipping_notice.export_archive import build_export_archive
|
||||
|
||||
stream, filename, _manifest = build_export_archive(user_id=int(user.id), business_nos=business_nos)
|
||||
response = send_file(stream, as_attachment=True, download_name=filename, mimetype='application/zip')
|
||||
response.call_on_close(stream.close)
|
||||
return response
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-tasks/<task_no>/export', methods=['GET'])
|
||||
def workspace_shipping_task_export(task_no: str):
|
||||
"""下载当前用户可访问任务的出货 Excel;写入统一访问审计。"""
|
||||
@@ -1282,14 +1508,24 @@ def workspace_list_shipping_order_extraction_documents(run_no: str):
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notice/order-extraction-runs/<run_no>/review', methods=['GET'])
|
||||
def workspace_get_shipping_order_review_run(run_no: str):
|
||||
"""读取当前用户 Run 的复核 Case 汇总;不返回机器原文或内部执行快照;访问留痕。"""
|
||||
"""
|
||||
读取当前用户 Run 的复核 Case 汇总;不返回机器原文或内部执行快照;访问留痕。
|
||||
|
||||
通过 Server-Timing 暴露查找与投影的耗时边界,便于定位工作台文件切换的服务端瓶颈;不改变
|
||||
JSON 响应契约或业务数据。
|
||||
"""
|
||||
user = _require_user()
|
||||
is_admin = str(getattr(user, 'role', '') or '').lower() == 'admin'
|
||||
from app.services.shipping_notice.fulfillment_audit import record_access_audit
|
||||
from app.services.shipping_notice.order_review_projection import serialize_review_run
|
||||
from app.services.shipping_notice.order_review_service import get_review_run_visible_to_user
|
||||
|
||||
payload = serialize_review_run(get_review_run_visible_to_user(run_no, user.id, is_admin=is_admin))
|
||||
lookup_started = perf_counter()
|
||||
review_run = get_review_run_visible_to_user(run_no, user.id, is_admin=is_admin)
|
||||
lookup_ms = (perf_counter() - lookup_started) * 1000
|
||||
projection_started = perf_counter()
|
||||
payload = serialize_review_run(review_run)
|
||||
projection_ms = (perf_counter() - projection_started) * 1000
|
||||
record_access_audit(
|
||||
action='view_order_review_run',
|
||||
aggregate_type='order_extraction_run',
|
||||
@@ -1297,20 +1533,34 @@ def workspace_get_shipping_order_review_run(run_no: str):
|
||||
actor_id=user.id,
|
||||
run_no=str(run_no),
|
||||
)
|
||||
return _ok(payload)
|
||||
response = current_app.make_response(_ok(payload))
|
||||
response.headers['Server-Timing'] = (
|
||||
f'review_lookup;dur={lookup_ms:.1f}, '
|
||||
f'review_projection;dur={projection_ms:.1f}'
|
||||
)
|
||||
return response
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notice/order-review-queue/<run_no>', methods=['GET'])
|
||||
def workspace_get_shipping_order_review_queue(run_no: str):
|
||||
"""读取当前会话的有效订单队列;不改变单 Run 复核摘要 API 语义。"""
|
||||
"""
|
||||
读取当前会话的有效订单队列;不改变单 Run 复核摘要 API 语义。
|
||||
|
||||
通过 Server-Timing 暴露查找与投影的耗时边界,便于定位工作台文件切换的服务端瓶颈;不改变
|
||||
JSON 响应契约或业务数据。
|
||||
"""
|
||||
user = _require_user()
|
||||
is_admin = str(getattr(user, 'role', '') or '').lower() == 'admin'
|
||||
from app.services.shipping_notice.fulfillment_audit import record_access_audit
|
||||
from app.services.shipping_notice.order_review_projection import serialize_review_queue
|
||||
from app.services.shipping_notice.order_review_service import get_review_queue_visible_to_user
|
||||
|
||||
lookup_started = perf_counter()
|
||||
runs = get_review_queue_visible_to_user(run_no, user.id, is_admin=is_admin)
|
||||
lookup_ms = (perf_counter() - lookup_started) * 1000
|
||||
projection_started = perf_counter()
|
||||
payload = serialize_review_queue(runs)
|
||||
projection_ms = (perf_counter() - projection_started) * 1000
|
||||
record_access_audit(
|
||||
action='view_order_review_queue',
|
||||
aggregate_type='conversation',
|
||||
@@ -1320,12 +1570,22 @@ def workspace_get_shipping_order_review_queue(run_no: str):
|
||||
run_no=str(run_no),
|
||||
metadata={'item_count': len(payload.get('items') or [])},
|
||||
)
|
||||
return _ok(payload)
|
||||
response = current_app.make_response(_ok(payload))
|
||||
response.headers['Server-Timing'] = (
|
||||
f'queue_lookup;dur={lookup_ms:.1f}, '
|
||||
f'queue_projection;dur={projection_ms:.1f}'
|
||||
)
|
||||
return response
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route('/shipping-notice/order-review-cases/<case_no>', methods=['GET'])
|
||||
def workspace_get_shipping_order_review_case(case_no: str):
|
||||
"""读取当前用户的一份 PDF 复核完整快照;Case 编号不能跨 owner 越权访问;访问留痕。"""
|
||||
"""
|
||||
读取当前用户的一份 PDF 复核完整快照;Case 编号不能跨 owner 越权访问;访问留痕。
|
||||
|
||||
通过 Server-Timing 暴露查找与快照投影的耗时边界,便于定位工作台文件切换的服务端瓶颈;不改变
|
||||
JSON 响应契约或业务数据。
|
||||
"""
|
||||
user = _require_user()
|
||||
is_admin = str(getattr(user, 'role', '') or '').lower() == 'admin'
|
||||
from app.services.shipping_notice.fulfillment_audit import record_access_audit
|
||||
@@ -1335,10 +1595,12 @@ def workspace_get_shipping_order_review_case(case_no: str):
|
||||
from app.services.shipping_notice.order_review_service import get_review_case_visible_to_user
|
||||
|
||||
# 只读:禁止在 GET 中入队 STP(入队仅抽取收尾 / resume / 显式 retry POST)。
|
||||
snapshot = build_order_review_case_snapshot(
|
||||
get_review_case_visible_to_user(case_no, user.id, is_admin=is_admin),
|
||||
is_admin=is_admin,
|
||||
)
|
||||
lookup_started = perf_counter()
|
||||
review_case = get_review_case_visible_to_user(case_no, user.id, is_admin=is_admin)
|
||||
lookup_ms = (perf_counter() - lookup_started) * 1000
|
||||
projection_started = perf_counter()
|
||||
snapshot = build_order_review_case_snapshot(review_case, is_admin=is_admin)
|
||||
projection_ms = (perf_counter() - projection_started) * 1000
|
||||
record_access_audit(
|
||||
action='view_order_review_case',
|
||||
aggregate_type='order_review_case',
|
||||
@@ -1351,7 +1613,12 @@ def workspace_get_shipping_order_review_case(case_no: str):
|
||||
else None
|
||||
),
|
||||
)
|
||||
return _ok(snapshot)
|
||||
response = current_app.make_response(_ok(snapshot))
|
||||
response.headers['Server-Timing'] = (
|
||||
f'case_lookup;dur={lookup_ms:.1f}, '
|
||||
f'case_projection;dur={projection_ms:.1f}'
|
||||
)
|
||||
return response
|
||||
|
||||
|
||||
@workspace_shipping_notice_bp.route(
|
||||
|
||||
Reference in new issue
Block a user