Commit 4bca1c93 by 刘鹏飞

coco下单时间检查,增加时间的null判断

parent 29c13d73
...@@ -63,7 +63,7 @@ public class CocoOrderRelationServiceImpl implements OrderRelationService { ...@@ -63,7 +63,7 @@ public class CocoOrderRelationServiceImpl implements OrderRelationService {
Date todayEnd = DateUtil.setEndDay(new Date()); Date todayEnd = DateUtil.setEndDay(new Date());
if(todayEnd.before(takeMealDateTime)){ if(takeMealDateTime != null && todayEnd.before(takeMealDateTime)){
return; return;
} }
......
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