fix:推广员导出

feature/mall_product
tangqian 2023-06-16 11:53:37 +08:00
parent f0d3b5a72d
commit ab863e67e1
1 changed files with 7 additions and 4 deletions

View File

@ -172,10 +172,13 @@ public class TenantServiceImpl implements TenantService {
}
// 同步修改部门信息
DeptUpdateReqVO reqVO = new DeptUpdateReqVO();
DeptDO dept = deptService.getDept(updateReqVO.getId());
reqVO.setName(updateReqVO.getName());
reqVO.setId(dept.getId());
deptService.updateDept(reqVO);
DeptDO dept = deptService.getDept(updateObj.getId());
if (null != dept) {
reqVO.setName(updateObj.getName());
reqVO.setId(dept.getId());
deptService.updateDept(reqVO);
}
}
/**