Compare commits

...

2 Commits

Author SHA1 Message Date
tangqian 103354947b Merge branch 'feature/mall_product' into test 2023-06-16 11:53:52 +08:00
tangqian ab863e67e1 fix:推广员导出 2023-06-16 11:53:37 +08:00
1 changed files with 7 additions and 4 deletions

View File

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