fix(xispeak): 反馈闭环计数兼容 feedback_status 已完成取值
表单提交已完成标记为 3,仅按 CompletionStatus.FINISHED=1 统计导致闭环数偏低 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -503,7 +503,8 @@ public class BgXiSpeakController extends JeecgController<BgXiSpeak, IBgXiSpeakSe
|
|||||||
Map<String, Integer> counts = result.get(fb.getMainId());
|
Map<String, Integer> counts = result.get(fb.getMainId());
|
||||||
if (counts != null) {
|
if (counts != null) {
|
||||||
counts.put("total", counts.get("total") + 1);
|
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);
|
counts.put("closed", counts.get("closed") + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user