From 97dfe722782c48f300cc9a1b26907217775ddd7d Mon Sep 17 00:00:00 2001 From: zhishi <1951671751@qq.com> Date: Sat, 11 Apr 2026 17:46:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E9=95=9C=E5=85=B3?= =?UTF-8?q?=E8=81=94=E8=B5=84=E4=BA=A7=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/production/getFlowData.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/production/getFlowData.ts b/src/routes/production/getFlowData.ts index 4afd932..6917d08 100644 --- a/src/routes/production/getFlowData.ts +++ b/src/routes/production/getFlowData.ts @@ -99,7 +99,8 @@ export default router.post( }), ); const storyboardIds = storyboardData.map((i) => i.id); - const assetsIds = await u.db("o_assets2Storyboard").whereIn("storyboardId", storyboardIds); + const assetsIds = await u.db("o_assets2Storyboard").whereIn("storyboardId", storyboardIds).orderBy("rowid"); + const assets2StoryboardMap: Record = {}; assetsIds.forEach((i) => { if (!assets2StoryboardMap[i.storyboardId!]) {