|
@@ -133,6 +133,12 @@ public class OfferDataServiceImpl implements OfferDataService {
|
|
|
// throw new ServiceException("预赋不动产单元号长度必须为19位");
|
|
// throw new ServiceException("预赋不动产单元号长度必须为19位");
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
|
|
+ //这里两者必须绑定
|
|
|
|
|
+ String bdcdyh = body.getBdcdyh();
|
|
|
|
|
+ if (StringUtils.isBlank(bdcdyh)) {
|
|
|
|
|
+ throw new ServiceException("不动产单元号为空");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
String ywlx = body.getYwlx();
|
|
String ywlx = body.getYwlx();
|
|
|
if (StringUtils.isBlank(ywlx)) {
|
|
if (StringUtils.isBlank(ywlx)) {
|
|
|
throw new ServiceException("业务类型为空");
|
|
throw new ServiceException("业务类型为空");
|
|
@@ -195,6 +201,12 @@ public class OfferDataServiceImpl implements OfferDataService {
|
|
|
updateVo.setId(body.getId());
|
|
updateVo.setId(body.getId());
|
|
|
updateVo.setTbzt("1");
|
|
updateVo.setTbzt("1");
|
|
|
thirdRecordStatusMapper.updateById(updateVo);
|
|
thirdRecordStatusMapper.updateById(updateVo);
|
|
|
|
|
+
|
|
|
|
|
+ //这里需要更新绑定关系
|
|
|
|
|
+ ProjectImmobileCode updateImmobileCode = new ProjectImmobileCode();
|
|
|
|
|
+ updateImmobileCode.setCode(bdcdyh);
|
|
|
|
|
+ updateImmobileCode.setPreAssignCode(yfbdcdyh);
|
|
|
|
|
+ projectImmobileCodeMapper.updateByPreCode(updateImmobileCode);
|
|
|
return body.getId();
|
|
return body.getId();
|
|
|
}).exceptionally(e -> {
|
|
}).exceptionally(e -> {
|
|
|
log.error("不动产远程抓取数据失败: ywh={}, ywlx={}", ywh, ywlx, e);
|
|
log.error("不动产远程抓取数据失败: ywh={}, ywlx={}", ywh, ywlx, e);
|