增加平均星数

This commit is contained in:
cyk
2023-07-07 10:15:20 +08:00
parent f22e270b22
commit cc5706f696

View File

@@ -153,7 +153,7 @@ public class projectService {
if(commentEntityList.size() != 0)
{
int sum = 0;
double sum = 0;
for(int i= 0;i<commentEntityList.size();i++)
{
sum +=commentEntityList.get(i).getStar();