|
|
@@ -79,7 +79,7 @@ public class CesAllDayPriceRuleServiceImpl extends ServiceImpl<CesAllDayPriceRul
|
|
|
public Result fetch(String hotelId){
|
|
|
Map<String,Object> map =new HashedMap();
|
|
|
CesAllDayPriceRule cesAllDayPriceRule = cesAllDayPriceRuleMapper.selectOne(Wrappers.<CesAllDayPriceRule>lambdaQuery().eq(CesAllDayPriceRule::getHotelId,hotelId).eq(CesAllDayPriceRule::getInvalid,false));
|
|
|
- if(ObjectUtils.isEmpty(cesAllDayPriceRule)) return Result.ok("欧克");
|
|
|
+ if(ObjectUtils.isEmpty(cesAllDayPriceRule)) return Result.ok(null);
|
|
|
|
|
|
//分钟加收
|
|
|
if (CouponEnums.ALLDAYROOMRULETIMEOUT.MINUTE.code() == cesAllDayPriceRule.getTimeOutRule().intValue()){
|