提交代码

hehai
rong.liu 4 years ago
parent 72564933af
commit 01a1a999b8
  1. 2
      src/main/java/com/msdw/tms/service/impl/ProjectRecordServiceImpl.java

@ -75,7 +75,7 @@ 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.0");
DecimalFormat df = new DecimalFormat("0.00");
double time = totalTime / 60;
String format = df.format(time);
projectRecordVo.setTotalTime(Double.parseDouble(format));

Loading…
Cancel
Save