Commit cabb1410 authored by hezhen's avatar hezhen

123

parent a799275d
...@@ -102,7 +102,7 @@ public class MyWaterBiz extends BaseBiz<MyWalletMapper, MyWallet>{ ...@@ -102,7 +102,7 @@ public class MyWaterBiz extends BaseBiz<MyWalletMapper, MyWallet>{
try { try {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
date = sdf.parse(sdf.format(new Date())); date = sdf.parse(sdf.format(new Date()));
if (time < date.getTime() && time > date.getTime()) { if (time < (date.getTime()+24*3600*1000) && time > date.getTime()) {
isToday = true; isToday = true;
} }
} catch (ParseException e) { } catch (ParseException e) {
......
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