fix:推广员导出

feature/mall_product
tangqian 2023-06-16 13:01:17 +08:00
parent ab863e67e1
commit 7c060b5a8b
2 changed files with 1 additions and 9 deletions

View File

@ -149,6 +149,7 @@ public class DeptServiceImpl implements DeptService {
});
deptMapper.updateBatch(deptDOS, deptDOS.size());
deptDO.setName(reqVO.getName());
deptDO.setParentOrganizationName(reqVO.getName());
deptMapper.updateById(deptDO);
// 发送刷新消息
deptProducer.sendDeptRefreshMessage();

View File

@ -170,15 +170,6 @@ public class TenantServiceImpl implements TenantService {
if (ObjectUtil.notEqual(tenant.getPackageId(), updateReqVO.getPackageId())) {
updateTenantRoleMenu(tenant.getId(), tenantPackage.getMenuIds());
}
// 同步修改部门信息
DeptUpdateReqVO reqVO = new DeptUpdateReqVO();
DeptDO dept = deptService.getDept(updateObj.getId());
if (null != dept) {
reqVO.setName(updateObj.getName());
reqVO.setId(dept.getId());
deptService.updateDept(reqVO);
}
}
/**