|
@@ -20,6 +20,7 @@ import com.huiju.estateagents.po.TaHousingResourcesPO;
|
20
|
20
|
import com.huiju.estateagents.po.TaPreselectionRecordPO;
|
21
|
21
|
import com.huiju.estateagents.service.ITaPreselectionRecordService;
|
22
|
22
|
import org.apache.commons.collections.CollectionUtils;
|
|
23
|
+import org.apache.commons.lang3.StringUtils;
|
23
|
24
|
import org.slf4j.Logger;
|
24
|
25
|
import org.slf4j.LoggerFactory;
|
25
|
26
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -265,7 +266,7 @@ public class TaPreselectionRecordServiceImpl extends ServiceImpl<TaPreselectionR
|
265
|
266
|
}
|
266
|
267
|
|
267
|
268
|
String link = String.format(CommConstant.HOUSE_DETAIL_PATH, houseId);
|
268
|
|
- String progranName = (po.getBuildingName() + po.getTermName() + po.getBlockName() + po.getUnitName() + po.getFloorName() + po.getRoomName()).replace("null", "");
|
|
269
|
+ String progranName = StringUtils.isBlank(po.getBuildingName()) ? "无" : po.getBuildingName();
|
269
|
270
|
String remark = progranName;
|
270
|
271
|
miniAppService.sendCheckMessage(toUser, link, checkType, result, progranName, failReason, remark, LocalDateTime.now(), isSuccess);
|
271
|
272
|
logger.info("sendSubscribeMsg 结束");
|