|
@@ -343,7 +343,7 @@ func (srv *SummaryEvaluationService) buildSummaryItemValue(itemList []*domain.Ev |
|
@@ -343,7 +343,7 @@ func (srv *SummaryEvaluationService) buildSummaryItemValue(itemList []*domain.Ev |
343
|
Category: v.Category,
|
343
|
Category: v.Category,
|
344
|
Name: v.Name,
|
344
|
Name: v.Name,
|
345
|
PromptTitle: v.PromptTitle,
|
345
|
PromptTitle: v.PromptTitle,
|
346
|
- PromptText: v.PromptText,
|
346
|
+ PromptText: "",
|
347
|
EntryItems: v.EntryItems,
|
347
|
EntryItems: v.EntryItems,
|
348
|
RuleType: v.RuleType,
|
348
|
RuleType: v.RuleType,
|
349
|
Rule: v.Rule,
|
349
|
Rule: v.Rule,
|
|
@@ -355,12 +355,13 @@ func (srv *SummaryEvaluationService) buildSummaryItemValue(itemList []*domain.Ev |
|
@@ -355,12 +355,13 @@ func (srv *SummaryEvaluationService) buildSummaryItemValue(itemList []*domain.Ev |
355
|
EvaluatorId: v.EvaluatorId,
|
355
|
EvaluatorId: v.EvaluatorId,
|
356
|
}
|
356
|
}
|
357
|
//PromptText 页面展示 特殊处理
|
357
|
//PromptText 页面展示 特殊处理
|
358
|
- if len(v.EntryItems) > 0 {
|
|
|
359
|
- item.PromptTitle = ""
|
|
|
360
|
- for _, v2 := range v.EntryItems {
|
|
|
361
|
- item.PromptTitle += v2.Title + "\n"
|
|
|
362
|
- }
|
358
|
+ // if len(v.EntryItems) > 0 {
|
|
|
359
|
+
|
|
|
360
|
+ for _, v2 := range v.EntryItems {
|
|
|
361
|
+ item.PromptText += v2.Title + "\n"
|
363
|
}
|
362
|
}
|
|
|
363
|
+ item.PromptText += v.PromptText
|
|
|
364
|
+ // }
|
364
|
value, ok := valueMap[v.Id]
|
365
|
value, ok := valueMap[v.Id]
|
365
|
if ok {
|
366
|
if ok {
|
366
|
item.Score = value.Score
|
367
|
item.Score = value.Score
|