|
@ -1763,12 +1763,14 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi |
|
|
IcResiUserEntity entity = new IcResiUserEntity(); |
|
|
IcResiUserEntity entity = new IcResiUserEntity(); |
|
|
entity.setId(resiUserId); |
|
|
entity.setId(resiUserId); |
|
|
entity.setIsTenant(NumConstant.ONE_STR); |
|
|
entity.setIsTenant(NumConstant.ONE_STR); |
|
|
|
|
|
entity.setIsFloating(NumConstant.ONE_STR); |
|
|
updateById(entity); |
|
|
updateById(entity); |
|
|
} |
|
|
} |
|
|
} else if (NumConstant.ONE_STR.equals(formDTO.getType())) { |
|
|
} else if (NumConstant.ONE_STR.equals(formDTO.getType())) { |
|
|
// 如果是新增的租客,需要新增一条信息,不存在的房东就不管了
|
|
|
// 如果是新增的租客,需要新增一条信息,不存在的房东就不管了
|
|
|
IcResiUserEntity entity = ConvertUtils.sourceToTarget(formDTO.getUser(), IcResiUserEntity.class); |
|
|
IcResiUserEntity entity = ConvertUtils.sourceToTarget(formDTO.getUser(), IcResiUserEntity.class); |
|
|
entity.setIsTenant(NumConstant.ONE_STR); |
|
|
entity.setIsTenant(NumConstant.ONE_STR); |
|
|
|
|
|
entity.setIsFloating(NumConstant.ONE_STR); |
|
|
insert(entity); |
|
|
insert(entity); |
|
|
resiUserId = entity.getId(); |
|
|
resiUserId = entity.getId(); |
|
|
// 变更记录表和变更记录明细表新增数据
|
|
|
// 变更记录表和变更记录明细表新增数据
|
|
|