Commit 57d776b7f58cf4ec5a91c1dc31d15e5d82b14f0f
1 parent
a14edf2b
update..
Showing
2 changed files
with
0 additions
and
20 deletions
src/main/java/com/bsth/data/summary/entity/TempSchSituation.java
| @@ -31,8 +31,6 @@ public class TempSchSituation { | @@ -31,8 +31,6 @@ public class TempSchSituation { | ||
| 31 | 31 | ||
| 32 | private String sGh; | 32 | private String sGh; |
| 33 | 33 | ||
| 34 | - private String reason; | ||
| 35 | - | ||
| 36 | private int size; | 34 | private int size; |
| 37 | 35 | ||
| 38 | private Double mileage; | 36 | private Double mileage; |
| @@ -99,14 +97,6 @@ public class TempSchSituation { | @@ -99,14 +97,6 @@ public class TempSchSituation { | ||
| 99 | this.sGh = sGh; | 97 | this.sGh = sGh; |
| 100 | } | 98 | } |
| 101 | 99 | ||
| 102 | - public String getReason() { | ||
| 103 | - return reason; | ||
| 104 | - } | ||
| 105 | - | ||
| 106 | - public void setReason(String reason) { | ||
| 107 | - this.reason = reason; | ||
| 108 | - } | ||
| 109 | - | ||
| 110 | public int getSize() { | 100 | public int getSize() { |
| 111 | return size; | 101 | return size; |
| 112 | } | 102 | } |
src/main/java/com/bsth/data/summary/service/impl/TempSchSituationServiceImpl.java
| @@ -45,11 +45,6 @@ public class TempSchSituationServiceImpl extends BaseServiceImpl<TempSchSituatio | @@ -45,11 +45,6 @@ public class TempSchSituationServiceImpl extends BaseServiceImpl<TempSchSituatio | ||
| 45 | return i; | 45 | return i; |
| 46 | 46 | ||
| 47 | i = (int) (o1.getT() - o2.getT()); | 47 | i = (int) (o1.getT() - o2.getT()); |
| 48 | - if(i != 0) | ||
| 49 | - return i; | ||
| 50 | - | ||
| 51 | - i = o1.getReason().compareTo(o2.getReason()); | ||
| 52 | - | ||
| 53 | return i; | 48 | return i; |
| 54 | } | 49 | } |
| 55 | }); | 50 | }); |
| @@ -83,11 +78,6 @@ public class TempSchSituationServiceImpl extends BaseServiceImpl<TempSchSituatio | @@ -83,11 +78,6 @@ public class TempSchSituationServiceImpl extends BaseServiceImpl<TempSchSituatio | ||
| 83 | return i; | 78 | return i; |
| 84 | 79 | ||
| 85 | i = (int) (o1.getT() - o2.getT()); | 80 | i = (int) (o1.getT() - o2.getT()); |
| 86 | - if(i != 0) | ||
| 87 | - return i; | ||
| 88 | - | ||
| 89 | - i = o1.getReason().compareTo(o2.getReason()); | ||
| 90 | - | ||
| 91 | return i; | 81 | return i; |
| 92 | } | 82 | } |
| 93 | }); | 83 | }); |