|
|
@@ -298,6 +298,9 @@ public class StoreOperationalStatisticsServiceImpl implements StoreOperationalSt
|
|
|
Integer historyId = saveStatisticsHistory(storeId, currentStartTime, currentEndTime,
|
|
|
previousStartTime, previousEndTime, comparison, null);
|
|
|
|
|
|
+ // 将历史记录ID设置到返回对象中
|
|
|
+ comparison.setHistoryId(historyId);
|
|
|
+
|
|
|
// 异步调用AI接口进行数据分析
|
|
|
if (historyId != null) {
|
|
|
try {
|