Commit dd47aaf7 by 吕明尚

修改下单判断

parent 2350e1b9
...@@ -1141,6 +1141,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme ...@@ -1141,6 +1141,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
SPack pack = packService.getById(roomLabel.getPackId()); SPack pack = packService.getById(roomLabel.getPackId());
if (pack.getIsOpen().equals(YesNoEnum.yes.getIndex())) { if (pack.getIsOpen().equals(YesNoEnum.yes.getIndex())) {
sOrder.setPackId(roomLabel.getPackId()); sOrder.setPackId(roomLabel.getPackId());
request.setPackId(roomLabel.getPackId());
request.setBuyType(BuyTypeEnum.PACK.getCode()); request.setBuyType(BuyTypeEnum.PACK.getCode());
} else { } else {
request.setBuyType(BuyTypeEnum.TIME.getCode()); request.setBuyType(BuyTypeEnum.TIME.getCode());
......
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