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