Commit 57d776b7f58cf4ec5a91c1dc31d15e5d82b14f0f

Authored by 潘钊
1 parent a14edf2b

update..

src/main/java/com/bsth/data/summary/entity/TempSchSituation.java
... ... @@ -31,8 +31,6 @@ public class TempSchSituation {
31 31  
32 32 private String sGh;
33 33  
34   - private String reason;
35   -
36 34 private int size;
37 35  
38 36 private Double mileage;
... ... @@ -99,14 +97,6 @@ public class TempSchSituation {
99 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 100 public int getSize() {
111 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 45 return i;
46 46  
47 47 i = (int) (o1.getT() - o2.getT());
48   - if(i != 0)
49   - return i;
50   -
51   - i = o1.getReason().compareTo(o2.getReason());
52   -
53 48 return i;
54 49 }
55 50 });
... ... @@ -83,11 +78,6 @@ public class TempSchSituationServiceImpl extends BaseServiceImpl<TempSchSituatio
83 78 return i;
84 79  
85 80 i = (int) (o1.getT() - o2.getT());
86   - if(i != 0)
87   - return i;
88   -
89   - i = o1.getReason().compareTo(o2.getReason());
90   -
91 81 return i;
92 82 }
93 83 });
... ...