|
|
@ -307,7 +307,6 @@ public class ProjectController extends JeecgController<Project, IProjectService> |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IPage<Project> pageList = projectService.page(page, queryWrapper); |
|
|
|
IPage<Project> pageList = projectService.page(page, queryWrapper); |
|
|
|
return Result.OK(pageList); |
|
|
|
return Result.OK(pageList); |
|
|
|
} |
|
|
|
} |
|
|
@ -420,7 +419,7 @@ public class ProjectController extends JeecgController<Project, IProjectService> |
|
|
|
ProjectType projectType = iProjectTypeService.getById(project.getProjectTypeid()); |
|
|
|
ProjectType projectType = iProjectTypeService.getById(project.getProjectTypeid()); |
|
|
|
project.setAnnualName(projectType.getAnnualName()); |
|
|
|
project.setAnnualName(projectType.getAnnualName()); |
|
|
|
project.setProjectTypeName(projectType.getTypeName()); |
|
|
|
project.setProjectTypeName(projectType.getTypeName()); |
|
|
|
SysDepart sysDepart = iSysDepartService.getById(project.getSysOrgCode()); |
|
|
|
SysDepart sysDepart = iSysDepartService.getOne(new LambdaQueryWrapper<SysDepart>().eq(SysDepart::getOrgCode,project.getSysOrgCode())); |
|
|
|
project.setDepartName(sysDepart.getDepartName()); |
|
|
|
project.setDepartName(sysDepart.getDepartName()); |
|
|
|
SysUser sysUser = iSysUserService.getById(project.getProjectCharger()); |
|
|
|
SysUser sysUser = iSysUserService.getById(project.getProjectCharger()); |
|
|
|
project.setProjectCharger(sysUser.getRealname()); |
|
|
|
project.setProjectCharger(sysUser.getRealname()); |
|
|
@ -434,7 +433,8 @@ public class ProjectController extends JeecgController<Project, IProjectService> |
|
|
|
ProjectType projectType = iProjectTypeService.getById(project.getProjectTypeid()); |
|
|
|
ProjectType projectType = iProjectTypeService.getById(project.getProjectTypeid()); |
|
|
|
project.setAnnualName(projectType.getAnnualName()); |
|
|
|
project.setAnnualName(projectType.getAnnualName()); |
|
|
|
project.setProjectTypeName(projectType.getTypeName()); |
|
|
|
project.setProjectTypeName(projectType.getTypeName()); |
|
|
|
SysDepart sysDepart = iSysDepartService.getById(project.getSysOrgCode()); |
|
|
|
// SysDepart sysDepart = iSysDepartService.getById(project.getSysOrgCode());
|
|
|
|
|
|
|
|
SysDepart sysDepart = iSysDepartService.getOne(new LambdaQueryWrapper<SysDepart>().eq(SysDepart::getOrgCode,project.getSysOrgCode())); |
|
|
|
project.setDepartName(sysDepart.getDepartName()); |
|
|
|
project.setDepartName(sysDepart.getDepartName()); |
|
|
|
SysUser sysUser = iSysUserService.getById(project.getProjectCharger()); |
|
|
|
SysUser sysUser = iSysUserService.getById(project.getProjectCharger()); |
|
|
|
project.setProjectCharger(sysUser.getRealname()); |
|
|
|
project.setProjectCharger(sysUser.getRealname()); |
|
|
@ -522,8 +522,12 @@ public class ProjectController extends JeecgController<Project, IProjectService> |
|
|
|
Depadminlx depadminlx = iDepadminlxService.getOne(new LambdaQueryWrapper<Depadminlx>().eq(Depadminlx::getDepid, project.getSysOrgCode())); |
|
|
|
Depadminlx depadminlx = iDepadminlxService.getOne(new LambdaQueryWrapper<Depadminlx>().eq(Depadminlx::getDepid, project.getSysOrgCode())); |
|
|
|
DepartExtDto2 dto = new DepartExtDto2(); |
|
|
|
DepartExtDto2 dto = new DepartExtDto2(); |
|
|
|
BeanUtils.copyProperties(sysDepart, dto); |
|
|
|
BeanUtils.copyProperties(sysDepart, dto); |
|
|
|
|
|
|
|
if (ObjectUtil.isNotEmpty(departExt)) { |
|
|
|
BeanUtils.copyProperties(departExt, dto); |
|
|
|
BeanUtils.copyProperties(departExt, dto); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (ObjectUtil.isNotEmpty(depadminlx)) { |
|
|
|
BeanUtils.copyProperties(depadminlx, dto); |
|
|
|
BeanUtils.copyProperties(depadminlx, dto); |
|
|
|
|
|
|
|
} |
|
|
|
ProjectType projectType = iProjectTypeService.getById(project.getProjectTypeid()); |
|
|
|
ProjectType projectType = iProjectTypeService.getById(project.getProjectTypeid()); |
|
|
|
dto.setAnnualName(projectType.getAnnualName()); |
|
|
|
dto.setAnnualName(projectType.getAnnualName()); |
|
|
|
List<DictModel> dictModels = sysBaseApi.queryDictItemsByCode("depart_type"); |
|
|
|
List<DictModel> dictModels = sysBaseApi.queryDictItemsByCode("depart_type"); |
|
|
|