Merge remote-tracking branch 'origin/main' into main
commit
d16689e719
|
|
@ -96,7 +96,7 @@ public class CorpInfoUpdateExe {
|
||||||
CorpInfoDO corpInfoDO = new CorpInfoDO();
|
CorpInfoDO corpInfoDO = new CorpInfoDO();
|
||||||
BeanUtils.copyProperties(corpInfoUpdateUseFlagCmd, corpInfoDO);
|
BeanUtils.copyProperties(corpInfoUpdateUseFlagCmd, corpInfoDO);
|
||||||
corpInfoRepository.updateById(corpInfoDO);
|
corpInfoRepository.updateById(corpInfoDO);
|
||||||
//TODO 通知GBS修改禁用启用标识
|
// 通知GBS修改禁用启用标识
|
||||||
TenantUpdateStatusCmd tenantUpdateStatusCmd = new TenantUpdateStatusCmd();
|
TenantUpdateStatusCmd tenantUpdateStatusCmd = new TenantUpdateStatusCmd();
|
||||||
tenantUpdateStatusCmd.setId(corpInfoUpdateUseFlagCmd.getId());
|
tenantUpdateStatusCmd.setId(corpInfoUpdateUseFlagCmd.getId());
|
||||||
if (corpInfoUpdateUseFlagCmd.getUseFlag() == 1){
|
if (corpInfoUpdateUseFlagCmd.getUseFlag() == 1){
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ public class DepartmentGatewayImpl implements DepartmentGateway {
|
||||||
DeptAddCmd deptCmd = new DeptAddCmd();
|
DeptAddCmd deptCmd = new DeptAddCmd();
|
||||||
deptCmd.setDeptName(departmentE.getName());
|
deptCmd.setDeptName(departmentE.getName());
|
||||||
deptCmd.setParentIds(deptDetailCO.getData().getParentIds());
|
deptCmd.setParentIds(deptDetailCO.getData().getParentIds());
|
||||||
|
deptCmd.setAddTypeEnum("MANUAL");
|
||||||
//TODO gbs部门表 sys_dept tenant_id,parent_ids,add_type_enum,存储错误,导致gbs页面看不到,参数还没有,待定
|
//TODO gbs部门表 sys_dept tenant_id,parent_ids,add_type_enum,存储错误,导致gbs页面看不到,参数还没有,待定
|
||||||
// TODO gbs的这个创建部门接口没有区分企业, 新建的企业创建其他企业有的部门名称时报错:名称已存在
|
// TODO gbs的这个创建部门接口没有区分企业, 新建的企业创建其他企业有的部门名称时报错:名称已存在
|
||||||
SingleResponse<Long> response = deptFacade.add(deptCmd);
|
SingleResponse<Long> response = deptFacade.add(deptCmd);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue