Commit 99165af02b6927bea7cb49276c0e6a63efa5c85b
1 parent
0827866eae
Exists in
master
and in
8 other branches
座机号 替换的问题
Showing 1 changed file with 1 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/DateUtil.java
View file @
99165af
| ... | ... | @@ -64,7 +64,7 @@ |
| 64 | 64 | int mouth1 = c1.get(Calendar.MONTH); |
| 65 | 65 | int mouth2 = c2.get(Calendar.MONTH); |
| 66 | 66 | int i=0; |
| 67 | - if(mouth1-mouth2>=0){ | |
| 67 | + if(mouth2-mouth1>=0){ | |
| 68 | 68 | int days1 = c1.get(Calendar.DAY_OF_MONTH); |
| 69 | 69 | int days2 = c2.get(Calendar.DAY_OF_MONTH); |
| 70 | 70 | if(days1<days2){ |