...
|
...
|
@@ -343,7 +343,7 @@ func (srv *SummaryEvaluationService) buildSummaryItemValue(itemList []*domain.Ev |
|
|
Category: v.Category,
|
|
|
Name: v.Name,
|
|
|
PromptTitle: v.PromptTitle,
|
|
|
PromptText: v.PromptText,
|
|
|
PromptText: "",
|
|
|
EntryItems: v.EntryItems,
|
|
|
RuleType: v.RuleType,
|
|
|
Rule: v.Rule,
|
...
|
...
|
@@ -355,12 +355,13 @@ func (srv *SummaryEvaluationService) buildSummaryItemValue(itemList []*domain.Ev |
|
|
EvaluatorId: v.EvaluatorId,
|
|
|
}
|
|
|
//PromptText 页面展示 特殊处理
|
|
|
if len(v.EntryItems) > 0 {
|
|
|
item.PromptTitle = ""
|
|
|
for _, v2 := range v.EntryItems {
|
|
|
item.PromptTitle += v2.Title + "\n"
|
|
|
}
|
|
|
// if len(v.EntryItems) > 0 {
|
|
|
|
|
|
for _, v2 := range v.EntryItems {
|
|
|
item.PromptText += v2.Title + "\n"
|
|
|
}
|
|
|
item.PromptText += v.PromptText
|
|
|
// }
|
|
|
value, ok := valueMap[v.Id]
|
|
|
if ok {
|
|
|
item.Score = value.Score
|
...
|
...
|
|