事件处理逻辑完善
This commit is contained in:
@@ -3,6 +3,7 @@ package org.dromara.system.dubbo;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.apache.dubbo.config.annotation.DubboService;
|
||||
import org.dromara.common.core.utils.MapstructUtils;
|
||||
import org.dromara.system.api.RemoteDeptService;
|
||||
import org.dromara.system.api.domain.vo.RemoteDeptVo;
|
||||
import org.dromara.system.domain.vo.SysDeptVo;
|
||||
@@ -57,4 +58,9 @@ public class RemoteDeptServiceImpl implements RemoteDeptService {
|
||||
return BeanUtil.copyToList(list, RemoteDeptVo.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RemoteDeptVo selectDeptVoById(Long deptId) {
|
||||
SysDeptVo sysDeptVo = sysDeptService.selectDeptById(deptId);
|
||||
return BeanUtil.copyProperties(sysDeptVo, RemoteDeptVo.class);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user