|
|
@ -165,9 +165,10 @@ public class IcMoveInRecordServiceImpl extends BaseServiceImpl<IcMoveInRecordDao |
|
|
|
} |
|
|
|
|
|
|
|
//3.判断是否需要更新居民信息
|
|
|
|
if (StringUtils.isNotBlank(resiDTO.getResiAgencyId()) && !staffInfo.getAgencyId().equals(resiDTO.getResiAgencyId()) |
|
|
|
if (StringUtils.isNotBlank(resiDTO.getResiAgencyId()) && staffInfo.getAgencyId().equals(resiDTO.getResiAgencyId()) |
|
|
|
&& !resiDTO.getResiHomeId().equals(formDTO.getHomeId()) |
|
|
|
&& StringUtils.isNotBlank(formDTO.getIsReplace()) && !"0".equals(formDTO.getIsReplace()) && !"1".equals(formDTO.getIsReplace())) { |
|
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "居民信息中房屋信息与当前选择房屋不一致,是否更新?"); |
|
|
|
throw new EpmetException(EpmetErrorCode.IC_MOVE_IN.getCode(), EpmetErrorCode.IC_MOVE_IN.getMsg()); |
|
|
|
} |
|
|
|
|
|
|
|
//4.勾选了补充居民信息且选择了更新信息的
|
|
|
|