Commit be1ebe24 by ping.wu

兼容门店隔日预约单格式修改,HH:mm变yyyy-MM-dd HH:mm,前端未升级,未按要求传

parent 9fbde580
......@@ -360,7 +360,7 @@ public class CheckOrder {
Date date = new Date();
//takeMealTimes格式必须为HH:mm
if (StringUtils.isNotBlank(takeMealTimes) && takeMealTimes.length() == 5) {
if (StringUtils.isNotBlank(takeMealTimes) && takeMealTimes.length() <= 5) {
StringBuffer takeMealTime = new StringBuffer("");
takeMealTime = takeMealTime.append(DateUtil.convert2String(date, "yyyy-MM-dd"))
.append(" ").append(takeMealTimes).append(":00");
......
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