Compare commits

...

4 Commits

Author SHA1 Message Date
tangqian ff734c3ac3 Merge branch 'feature/mall_product' 2023-06-16 13:21:05 +08:00
tangqian e99801eddd fix:推广员导出 2023-06-16 13:03:56 +08:00
tangqian 7c060b5a8b fix:推广员导出 2023-06-16 13:01:17 +08:00
tangqian ab863e67e1 fix:推广员导出 2023-06-16 11:53:37 +08:00
3 changed files with 2 additions and 6 deletions

View File

@ -150,6 +150,7 @@ public class PromoterController {
@GetMapping("/all-export-excel")
@Operation(summary = "导出所有推广员 Excel")
@OperateLog(type = EXPORT)
@TenantIgnore
public void allExportExcel(@Valid PromoterPageReqVO pageVO,
HttpServletResponse response) throws IOException {
PageResult<PromoterRespVO> pageResult = promoterService.getPromoterPage(pageVO);

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,12 +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(updateReqVO.getId());
reqVO.setName(updateReqVO.getName());
reqVO.setId(dept.getId());
deptService.updateDept(reqVO);
}
/**