|
@@ -762,7 +762,7 @@ public class TaHousingResourcesServiceImpl extends ServiceImpl<TaHousingResource
|
762
|
762
|
//校验房源是否同一批次
|
763
|
763
|
for (String houseId : houseIdArr){
|
764
|
764
|
TaHousingResources taHousingResourcesChecked = taHousingResourcesMapper.selectById(houseId);
|
765
|
|
- if (taHousingResources.getSalesBatchId() != taHousingResourcesChecked.getSalesBatchId()){
|
|
765
|
+ if (!taHousingResources.getSalesBatchId().equals(taHousingResourcesChecked.getSalesBatchId())){
|
766
|
766
|
throw new Exception("非同一批次房源");
|
767
|
767
|
}
|
768
|
768
|
if (taHousingResourcesChecked.getStatus() != CommConstant.STATUS_NORMAL) {
|