|
|
@ -276,7 +276,11 @@ public class AssesmentService { |
|
|
|
endtime = Long.parseLong(assesment.getEndTime()); |
|
|
|
endtime = Long.parseLong(assesment.getEndTime()); |
|
|
|
assesment.setEndTime(AssesmentHelper.longPointDate(endtime)); |
|
|
|
assesment.setEndTime(AssesmentHelper.longPointDate(endtime)); |
|
|
|
} |
|
|
|
} |
|
|
|
if (timeSum != null && !timeSum.equals("")) { |
|
|
|
if(assesment.getReleaseType().equals(2)&&!StringUtils.isEmpty(timeSum)){ |
|
|
|
|
|
|
|
long time=Long.parseLong(timeSum); |
|
|
|
|
|
|
|
String gapTime=AssesmentHelper.getGapTime(time); |
|
|
|
|
|
|
|
assesment.setTimesum(gapTime); |
|
|
|
|
|
|
|
}else if (assesment.getReleaseType().equals(1)&&!StringUtils.isEmpty(timeSum)) { |
|
|
|
datas = timeSum.split("h"); |
|
|
|
datas = timeSum.split("h"); |
|
|
|
if (datas != null && datas.length > 0) { |
|
|
|
if (datas != null && datas.length > 0) { |
|
|
|
hour = Integer.parseInt(datas[0]); |
|
|
|
hour = Integer.parseInt(datas[0]); |
|
|
|