Browse Source

--update updateScorePercent();

zzy.zhiyuan.foxmail 8 years ago
parent
commit
a5be61ab83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/ekexiu/portal/service/ProfessorService.java

+ 1 - 1
src/main/java/com/ekexiu/portal/service/ProfessorService.java

@ -407,7 +407,7 @@ public class ProfessorService {
407 407
				if(count != 0){
408 408
					value = (double)lessThan/(double)count;
409 409
				}
410
				DecimalFormat df = new DecimalFormat("#.##%");
410
				DecimalFormat df = new DecimalFormat("#%");
411 411
				this.professorDao.updateScorePercent(con, professor.getId(), df.format(value));
412 412
			}
413 413
		} catch (Exception e) {