Browse Source

绑定房屋逻辑修改,不添加ic_resi_user信息

feature/teamB_zz_wgh
zhaoqifeng 3 years ago
parent
commit
c1d3e8cf47
  1. 3
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/MyHomeServiceImpl.java

3
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/MyHomeServiceImpl.java

@ -92,8 +92,7 @@ public class MyHomeServiceImpl implements MyHomeService {
userWrapper.eq(IcResiUserEntity::getCustomerId, formDTO.getCustomerId());
userWrapper.eq(IcResiUserEntity::getIdCard, formDTO.getIdCard());
IcResiUserEntity icUser = icResiUserDao.selectOne(userWrapper);
if (null != icUser && !icUser.getHomeId().equals(formDTO.getHomeId())) {
if (null == icUser || !icUser.getHomeId().equals(formDTO.getHomeId())) {
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),
"人员与房屋信息不匹配,请与工作人员联系。",
"人员与房屋信息不匹配,请与工作人员联系。");

Loading…
Cancel
Save