From 0756bf12d10cf1b7f78c571de0a9ad69cbaeb7ca Mon Sep 17 00:00:00 2001
From: curtis <curtis@i-mps.com>
Date: 星期一, 30 三月 2026 14:24:17 +0800
Subject: [PATCH] fix: 更新內部引用方法參照
---
reassemble/mermaid/omr/DistinctFormCode.md | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/reassemble/mermaid/omr/DistinctFormCode.md b/reassemble/mermaid/omr/DistinctFormCode.md
new file mode 100644
index 0000000..4be583b
--- /dev/null
+++ b/reassemble/mermaid/omr/DistinctFormCode.md
@@ -0,0 +1,22 @@
+```mermaid
+flowchart TD
+ Start([開始 DistinctFormCode]) --> LoadContext[讀取 Context.dat 到字串清單 S]
+ LoadContext --> LoopStart[遍歷清單 i = 0 to Count-1]
+
+ LoopStart --> CheckCat{FWH_category 為 'N'?}
+ CheckCat -- 是 --> CheckExist{檔案是否存在或已在 Resize 清單?}
+ CheckExist -- 是 --> Continue[跳過此筆]
+ CheckExist -- 否 --> ProcessFile
+ CheckCat -- 否 --> ProcessFile
+
+ Continue --> NextIter
+ ProcessFile[提取 FormCode] --> CheckDup{OMRFileList 中是否已存在?}
+
+ CheckDup -- 否 --> AddToList[加入 OMRFileList]
+ CheckDup -- 是 --> NextIter
+
+ AddToList --> NextIter[下一筆檔案]
+ NextIter --> LoopStart
+
+ LoopStart -- 結束 --> End([釋放 S 並結束])
+```
--
Gitblit v1.8.0