免费的包次订单,2小时结束
This commit is contained in:
@@ -95,11 +95,8 @@ public class VenueEnterService extends BaseServiceImpl {
|
||||
Integer timePayHour = 2; // 此处修改押金小时数
|
||||
if(PayStyleEnum.TIME.getValue() == venue.getPayStyle()){
|
||||
// 按次入场先收钱,且多久不收钱,出场不收钱
|
||||
// 该用户上次订单的是否逾期
|
||||
timePayHour = venue.getTimePayHour();
|
||||
if (timePayHour == null) {
|
||||
timePayHour = 4;
|
||||
}
|
||||
// 如果是按次的订单,免费订单只能撑两个小时
|
||||
timePayHour = 2;
|
||||
}
|
||||
logger.info(memberId + "&用户创建订单,开始进场,免费入场");
|
||||
createBarcodeTimeOrder(memberId,venueId,timePayHour,"000");
|
||||
|
||||
Reference in New Issue
Block a user