diff --git a/src/routes/production/storyboard/batchGenerateImage.ts b/src/routes/production/storyboard/batchGenerateImage.ts index 203fc3f..cf19a06 100644 --- a/src/routes/production/storyboard/batchGenerateImage.ts +++ b/src/routes/production/storyboard/batchGenerateImage.ts @@ -44,7 +44,7 @@ export default router.post( .db("o_storyboard") .whereIn("id", finalStoryboardIds) .where("scriptId", scriptId) - .whereNot("shouldGenerateImage", 1) + .where("shouldGenerateImage", 1) .update({ state: "生成中" }); const projectSettingData = await u.db("o_project").where("id", projectId).select("imageModel", "imageQuality", "artStyle", "videoRatio").first();