修复bug

This commit is contained in:
zhishi 2026-04-06 02:03:32 +08:00
parent 80c13acef9
commit c0b4e9d9cd

View File

@ -44,7 +44,7 @@ export default router.post(
.db("o_storyboard") .db("o_storyboard")
.whereIn("id", finalStoryboardIds) .whereIn("id", finalStoryboardIds)
.where("scriptId", scriptId) .where("scriptId", scriptId)
.whereNot("shouldGenerateImage", 1) .where("shouldGenerateImage", 1)
.update({ state: "生成中" }); .update({ state: "生成中" });
const projectSettingData = await u.db("o_project").where("id", projectId).select("imageModel", "imageQuality", "artStyle", "videoRatio").first(); const projectSettingData = await u.db("o_project").where("id", projectId).select("imageModel", "imageQuality", "artStyle", "videoRatio").first();