From 3bbe212120c1199e574087f63afe8f384ffe16f5 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 31 七月 2024 15:01:21 +0800 Subject: [PATCH] 抽离设置表头为公共方法 --- service/input_history_search.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/service/input_history_search.go b/service/input_history_search.go index c2d96bb..144d9ed 100644 --- a/service/input_history_search.go +++ b/service/input_history_search.go @@ -61,6 +61,9 @@ } for _, record := range records { + if operationMap[record.OperationId] == nil { + continue + } AddNewHistoryReportRecord(record, operationMap[record.OperationId]) } return nil -- Gitblit v1.8.0