Browse Source

no message

FengChaoYu 1 week ago
parent
commit
d092d2ffd5

+ 2 - 2
mall-server-api/src/main/java/com/gree/mall/manager/logic/order/OrderOfflineLogic.java

@@ -116,9 +116,9 @@ public class OrderOfflineLogic {
                 throw new RemoteServiceException("仓储未配置此时间段");
             }
 
-            final DateTime parseDate = DateUtil.parseDateTime(orderInfoAddBean.getPickStartTime());
+            final DateTime parseDate = DateUtil.parseDateTime(orderInfoAddBean.getPickEndTime());
             if (DateUtil.date().getTime() > parseDate.getTime()) {
-                throw new RemoteServiceException("提交的时间不能大于选择的自提开始时间");
+                throw new RemoteServiceException("提交的时间不能大于选择的自提结束时间");
             }
 
             if (pickTimeConfig.getLimitNum() > 0) {