feat(Property): dubbo接口调用异常
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
zcxlsm 2025-07-24 21:15:50 +08:00
parent f2aafe220f
commit 2a2df4e501
4 changed files with 14 additions and 4 deletions

View File

@ -2,6 +2,8 @@ package org.dromara.sis.api.domain;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
@ -10,7 +12,10 @@ import java.util.Date;
* @since 2025/7/24
*/
@Data
public class RemotePersonAuth {
public class RemotePersonAuth implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
private Long id;

View File

@ -67,6 +67,11 @@ public class ResidentPersonBo extends BaseEntity {
*/
private Date endDate;
/**
* e8平台id
*/
private Long eEightId;
/**
* 邮箱
*/

View File

@ -40,7 +40,7 @@ public class ResidentPersonServiceImpl implements IResidentPersonService {
private final ResidentPersonMapper baseMapper;
@DubboReference
private final RemoteSisAuth remoteSisAuth;
private RemoteSisAuth remoteSisAuth;
/**
* 查询入驻员工
@ -128,8 +128,8 @@ public class ResidentPersonServiceImpl implements IResidentPersonService {
Long personId = remoteSisAuth.personAuth(personAuth);
Assert.notNull(personId, "新增授权记录失败");
add.setEEightId(personId);
bo.setId(add.getId());
bo.setEEightId(personId);
this.updateByBo(bo);
}
return flag;

View File

@ -21,6 +21,6 @@ public class RemoteSisAuthImpl implements RemoteSisAuth {
@Override
public Long personAuth(RemotePersonAuth personAuth) {
return 1L;
return sisAuthRecordService.insertByPerson(personAuth);
}
}