Commit 252d52d1 by ping.wu

门店营业开始时间是24:00点问题修改

parent 95822772
......@@ -518,6 +518,10 @@ public class CheckOrder {
Date startDateTime;
Date endDateTime;
startDateTime = DateUtil.convert2Date(startDateTimeStr, DateUtil.FORMAT_YYYY_MM_DD_HHMMSS);
//判断营业开始时间是24:00点
if (startDateTime == null) {
throw new ServiceException(ResponseResult.STORE_BUSINESS_HOUR_ERROR);
}
SimpleDateFormat hhmmss = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
try {
endDateTime = hhmmss.parse(endDateTimeStr);
......
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