|
|
|
|
78
|
return ResponseBean.error("填写房源设置出错", ResponseBean.ERROR_MISSING_PARAMS);
|
78
|
return ResponseBean.error("填写房源设置出错", ResponseBean.ERROR_MISSING_PARAMS);
|
79
|
}
|
79
|
}
|
80
|
|
80
|
|
81
|
- if (null == taHouseSetting.getPersonNum() || taHouseSetting.getPersonNum() < 1) {
|
|
|
82
|
- return ResponseBean.error("房源入住人数至少1人", ResponseBean.ERROR_ILLEGAL_PARAMS);
|
|
|
|
|
81
|
+ if (null == taHouseSetting.getPersonNum() || taHouseSetting.getPersonNum() < 0) {
|
|
|
82
|
+ return ResponseBean.error("房源入住人数至少0人", ResponseBean.ERROR_ILLEGAL_PARAMS);
|
83
|
}
|
83
|
}
|
84
|
|
84
|
|
85
|
if (StringUtils.isEmpty(taHouseSetting.getHouseId())) {
|
85
|
if (StringUtils.isEmpty(taHouseSetting.getHouseId())) {
|