实验时长修改

hehai
rong.liu 4 years ago
parent 493c081f31
commit 1753d5e499
  1. 5
      src/main/java/com/msdw/tms/service/impl/ProjectRecordServiceImpl.java

@ -75,10 +75,11 @@ public class ProjectRecordServiceImpl extends ServiceImpl<ProjectRecordDao, Proj
ProjectRecordVo projectRecordVo = this.baseMapper.getByUserScore(userId, isdel);
Double totalTime = projectRecordVo.getTotalTime();
if (totalTime != null) {
DecimalFormat df = new DecimalFormat("0.00");
/*DecimalFormat df = new DecimalFormat("0.00");
double time = totalTime / 60;
String format = df.format(time);
projectRecordVo.setTotalTime(Double.parseDouble(format));
projectRecordVo.setTotalTime(Double.parseDouble(format));*/
projectRecordVo.setTotalTime(projectRecordVo.getTotalTime());
}

Loading…
Cancel
Save