修复订单发布与核销并发状态覆盖

This commit is contained in:
yml2213
2026-09-01 14:13:10 +08:00
parent d47360f484
commit c6dd6a8b7c
8 changed files with 667 additions and 57 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
target="${1:-$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)/MODIFIED_FILE}"
repo="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)"
git -C "$repo" show HEAD:apps/backend/src/repositories/worker-platform/work-order-management-repo.ts > "$target"
printf 'rollback restored HEAD content: %s\n' "$target"