@@ -256,8 +256,15 @@ public class AppBookImplService implements AppBookService {
@Override
public String varificationHouse(String houseId, String startTime, String endTime, String houseOrderNumber) {
House house = houseService.getById(houseId);
- if (house == null)
+ if (house == null){
return "无此房间,请重新查询";
+ }
+ if (house.getStatus()==0){
+ return "该房间已删除";
+ if (house.getStatus()==2){
+ return "该房间已停用";
if (Func.checkNull(houseOrderNumber))
houseOrderNumber = "0";