L09 案例配图生成说明
生成日期:2026-09-26。使用内置 ImageGen;全部为教学示意,不是运行截图或学生验收证据。
图片用于辅导资料,每图只解释一个案例转折。源图保留,项目内保存副本。
01-cancel-stock

完整提示词
Use case: scientific-educational. Create one polished landscape Chinese textbook teaching illustration, 1536x1024 or similar 3:2. White background, restrained navy blue/teal/orange, clean editorial line drawings and large very legible simplified Chinese typography. Plenty of whitespace. Visual story dominates, not a slide full of bullet points. At most three panels, clearly ordered left to right. No tiny type, fake UI, logos or watermarks. Small corner label exactly “教学示意”. Labels below must be exact; no extra paragraphs. Title “取消一张订单,应该释放谁的库存?” Two wide panels connected by a single arrow. Left: warehouse shelf and three clearly separated inventory groups labeled “TARGET:3 件”“OTHER:2 件”“可用:5 件”; small line “在库 10 件”. Show 3 orange units, 2 blue units, 5 neutral units. Right after cancellation: same physical inventory, TARGET orange allocation is removed, keep OTHER 2 blue units, 8 free units. Labels “取消 TARGET”“OTHER:2 件”“可用:8 件”“在库仍是 10 件”. The same ten physical items remain in both panels; release reservation never removes physical stock. Bottom takeaway exactly “只释放 TARGET 的预占,OTHER 保留”. No additional numbers.
02-find-branch

完整提示词
Use case: scientific-educational. Create one polished landscape Chinese textbook teaching illustration, 1536x1024 or similar 3:2. White background, restrained navy blue/teal/orange, clean editorial line drawings and large very legible simplified Chinese typography. Plenty of whitespace. Visual story dominates, not a slide full of bullet points. At most three panels, clearly ordered left to right. No tiny type, fake UI, logos or watermarks. Small corner label exactly “教学示意”. Labels below must be exact; no extra paragraphs. Title “为什么没有执行释放?” Two stacked horizontal strips contrasting faulty and corrected action order. Top orange heading “错误顺序”: first card “先改为已取消” arrow second diamond “还是已预占吗?” arrow marked “否” to card “跳过释放”; show developer observing this with a magnifying glass, not a robot. Bottom teal heading “修复思路”: card “先记住原状态” arrow card “释放 TARGET 预占” arrow card “再改为已取消”. Under the three bottom cards one single bracket labeled “放在同一个事务中”. Bottom takeaway “任一步失败,本次修改一起回退”. These are conceptual teaching steps, no invented code or runtime proof.
01-cancel-stock 修订
采用 01-cancel-stock-v2.png。初稿未采用;修正后已目视复核。
Edit this teaching illustration. Keep its title, colors, two-panel layout, all Chinese labels and bottom takeaway. Fix the misleading package counts by replacing BOTH shelf drawings entirely with clean continuous stacked allocation bars, NOT individual packages or countable objects. Left bar exactly three joined portions 30% orange labeled TARGET 3件, 20% blue labeled OTHER 2件, 50% light gray labeled 可用5件. Right bar exactly two portions 20% blue labeled OTHER2件 and 80% light gray labeled 可用8件. Both full bars are equal total length; label below each 在库10件 and 在库仍是10件 respectively. Put 取消TARGET above the right bar. The quantity remains10 and only reservation allocation changes. Absolutely no individual boxes, no empty removed gap, no duplication of labels. Everything else unchanged.