Compare commits
No commits in common. "de10f778f6552efbdf25e2914dff555ec9b8f98b" and "abeba51042b75b16bc25a80763b89a1e2c0168aa" have entirely different histories.
de10f778f6
...
abeba51042
|
|
@ -1,16 +1,12 @@
|
||||||
package org.qinan.safetyeval.infrastructure.adapter.gbs;
|
package org.qinan.safetyeval.infrastructure.adapter.gbs;
|
||||||
|
|
||||||
import com.jjb.saas.system.client.user.facade.UserFacade;
|
import com.jjb.saas.system.client.user.facade.UserFacade;
|
||||||
import com.jjb.saas.system.client.user.request.RoleDeptAddCmd;
|
|
||||||
import com.jjb.saas.system.client.user.request.UserAddCmd;
|
import com.jjb.saas.system.client.user.request.UserAddCmd;
|
||||||
import com.jjb.saas.system.client.user.request.UserUpdatePasswordCmd;
|
import com.jjb.saas.system.client.user.request.UserUpdatePasswordCmd;
|
||||||
import com.jjb.saas.system.client.user.request.UserUpdateQuitCmd;
|
import com.jjb.saas.system.client.user.request.UserUpdateQuitCmd;
|
||||||
import org.apache.dubbo.config.annotation.DubboReference;
|
import org.apache.dubbo.config.annotation.DubboReference;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
public class GbsUserFacadeClient {
|
public class GbsUserFacadeClient {
|
||||||
|
|
||||||
|
|
@ -18,13 +14,6 @@ public class GbsUserFacadeClient {
|
||||||
private UserFacade userFacade;
|
private UserFacade userFacade;
|
||||||
|
|
||||||
public void add(UserAddCmd cmd) {
|
public void add(UserAddCmd cmd) {
|
||||||
//2069596397920849920{key: "1782463085576", deptId: "2069596397920849920", roleId: "2069671307598893058"}
|
|
||||||
List<RoleDeptAddCmd> list = new ArrayList<>();
|
|
||||||
RoleDeptAddCmd roleDeptAddCmd = new RoleDeptAddCmd();
|
|
||||||
roleDeptAddCmd.setDeptId(2069596397920849920L);
|
|
||||||
roleDeptAddCmd.setRoleId(2069671307598893058L);
|
|
||||||
roleDeptAddCmd.setRoleCode("b5d8d972b4e948aeb04063ad77fdc196");
|
|
||||||
cmd.setRoleDepts(list);
|
|
||||||
userFacade.add(cmd);
|
userFacade.add(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,6 @@ public class OrgPersonnelGatewayImpl implements OrgPersonnelGateway {
|
||||||
InsertFieldDefaults.apply(dataObject);
|
InsertFieldDefaults.apply(dataObject);
|
||||||
orgPersonnelMapper.insert(dataObject);
|
orgPersonnelMapper.insert(dataObject);
|
||||||
entity.setId(dataObject.getId());
|
entity.setId(dataObject.getId());
|
||||||
InsertFieldDefaults.apply(entity);
|
|
||||||
entity.setTenantId(dataObject.getTenantId());
|
|
||||||
return entity;
|
return entity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
com.jjb.saas.framework.auth.model.
|
|
||||||
com.jjb.saas.system.client.user.
|
|
||||||
com.jjb.saas.framework.dto.
|
|
||||||
com.jjb.saas.framework.enums.
|
|
||||||
Loading…
Reference in New Issue