Commit 1e1b607f by 吕明尚

抖音优惠卷退款后删除原来的优惠卷

parent ed1bb074
......@@ -127,7 +127,11 @@ public class RoomStatusServiceImpl implements RoomStatusService {
}
private void checkIsDirtyRoom(RoomStatusVo vo,Date timeHourDate, SStore store, SCleanRecords cleanRecords, String day){
CleaningStatusEnum cleaningStatusEnum = CleaningStatusEnum.getEnumByCode(cleanRecords.getStatus());
CleaningStatusEnum cleaningStatusEnum = null;
if (Objects.isNull(cleanRecords)) {
return;
}
cleaningStatusEnum = CleaningStatusEnum.getEnumByCode(cleanRecords.getStatus());
switch (cleaningStatusEnum){
case UNCLEAN:
case CLEANING:
......
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