fix(xispeak): 反馈闭环计数兼容 feedback_status 已完成取值

表单提交已完成标记为 3,仅按 CompletionStatus.FINISHED=1 统计导致闭环数偏低

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wsm
2026-08-12 18:12:20 +08:00
co-authored by Claude Opus 4.7
parent e5508e7b7c
commit 61293b9271
@@ -503,7 +503,8 @@ public class BgXiSpeakController extends JeecgController<BgXiSpeak, IBgXiSpeakSe
Map<String, Integer> counts = result.get(fb.getMainId());
if (counts != null) {
counts.put("total", counts.get("total") + 1);
if ("1".equals(fb.getCompletionStatus())) {
// 已完成兼容两种取值:CompletionStatus.FINISHED=1(监听器写入)与 feedback_status 字典的 3(表单提交)
if ("1".equals(fb.getCompletionStatus()) || "3".equals(fb.getCompletionStatus())) {
counts.put("closed", counts.get("closed") + 1);
}
}