处理智育,学科排行评语模版

develop
PL 3 months ago
parent 2f8bb75d6f
commit fcfda1760a

@ -44,12 +44,12 @@ public class WisdomSubjectComments {
/**
*
*/
public int scoreRate;
public double scoreRate;
/**
*
*/
public int average;
public double average;
}
}

@ -449,7 +449,7 @@ public class ChatMessageServiceImpl implements ChatMessageService {
builder.append(String.format(finalChatModel.getCycleChats().get(1), stuInfo.ranking,stuInfo.name, stuInfo.scoreRate*100));
}
name = comments.getClaasRanking().name;
builder.append(String.format(finalChatModel.getCycleChats().get(2),name,comments.getClaasRanking().ranking, comments.getClaasRanking().scoreRate * 100,comments.getClaasRanking().average));
builder.append(String.format(finalChatModel.getCycleChats().get(2),name,comments.getClaasRanking().ranking, comments.getClaasRanking().scoreRate * 100,comments.getClaasRanking().average * 100));
}
builder.append(String.format(finalChatModel.getEnd(), subjectComments.size(),name));
break;

@ -21,7 +21,7 @@
"name": "智育 学科评语模版",
"role": "请扮演[%s%s]老师角色\n ",
"chat": "各科评测表现",
"cycleChats":["科目:%s 班级top10"," 排名:%s姓名%s得分率%s %% ,\n " ,"%s在班级排名%s,得分率:%s %%,排在班级平均(%s %%)"],
"cycleChats":["科目:%s 班级top10"," 排名:%s姓名%s得分率%s %% ,\n " ,"%s在班级排名%s,得分率:%s %%,排在班级平均得分率(%s %%)"],
"end": "根据我提供的数据,对这%s门学科【%s】在班级中的表现做一个评价。 \n"
},
{

Loading…
Cancel
Save