feat(Property): dubbo接口调用异常
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
parent
f2aafe220f
commit
2a2df4e501
@ -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;
|
||||
|
||||
|
@ -67,6 +67,11 @@ public class ResidentPersonBo extends BaseEntity {
|
||||
*/
|
||||
private Date endDate;
|
||||
|
||||
/**
|
||||
* e8平台id
|
||||
*/
|
||||
private Long eEightId;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
|
@ -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;
|
||||
|
@ -21,6 +21,6 @@ public class RemoteSisAuthImpl implements RemoteSisAuth {
|
||||
|
||||
@Override
|
||||
public Long personAuth(RemotePersonAuth personAuth) {
|
||||
return 1L;
|
||||
return sisAuthRecordService.insertByPerson(personAuth);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user