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