Commit 6eb13fdc authored by tianyiming's avatar tianyiming

bug修改

parent 462a1045
...@@ -381,13 +381,7 @@ public class SupervisionConfigureController extends AbstractBaseController { ...@@ -381,13 +381,7 @@ public class SupervisionConfigureController extends AbstractBaseController {
} catch (ParseException e) { } catch (ParseException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
long res = 0; long res = Math.abs(start - end);
if (start > end){
res = start - end;
}else {
res = end - start;
}
diffMinute = res / 1000 / 60; diffMinute = res / 1000 / 60;
} }
long finalDiffMinute = diffMinute; long finalDiffMinute = diffMinute;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment