Commit ec6893bd787b06f3e705fa07b4db86c6abd4018a
1 parent
97e936c0
直播查询修改
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/LiveServiceImpl.java
| ... | ... | @@ -131,7 +131,7 @@ public class LiveServiceImpl { |
| 131 | 131 | if (CommonUtils.isNotEmpty(start_date)) { |
| 132 | 132 | Timestamp startdate = null; |
| 133 | 133 | try { |
| 134 | - startdate = CommonUtils.parseDate(start_date, "yyyy-MM-dd HH:mm"); | |
| 134 | + startdate = CommonUtils.parseDate(start_date, "yyyy-MM-dd"); | |
| 135 | 135 | } catch (ParseException e) { |
| 136 | 136 | e.printStackTrace(); |
| 137 | 137 | } |
| ... | ... | @@ -141,7 +141,7 @@ public class LiveServiceImpl { |
| 141 | 141 | if ( CommonUtils.isNotEmpty(end_date)) { |
| 142 | 142 | Timestamp enddate = null; |
| 143 | 143 | try { |
| 144 | - enddate = CommonUtils.parseDate(end_date, "yyyy-MM-dd HH:mm"); | |
| 144 | + enddate = CommonUtils.parseDate(end_date, "yyyy-MM-dd"); | |
| 145 | 145 | } catch (ParseException e) { |
| 146 | 146 | e.printStackTrace(); |
| 147 | 147 | } | ... | ... |