|
|
@@ -974,7 +974,7 @@ public class SysLearningGrowthServiceImpl implements ISysLearningGrowthService {
|
|
974
|
974
|
* @return 工作画像-组织支撑-培训测试平均分趋势图
|
|
975
|
975
|
*/
|
|
976
|
976
|
@Override
|
|
977
|
|
- public List<SysLargeScreenLearningGrowthOrganizationalSupportDto> organizationalSupport(BaseLargeScreenQueryParamDto dto) {
|
|
|
977
|
+ public List<SysLargeScreenLearningGrowthOrganizationalSupportDto> organizationalSupport(SysLargeScreenLearningGrowthQueryParamDto dto) {
|
|
978
|
978
|
// 默认筛选条件
|
|
979
|
979
|
if (ObjUtil.isNull(dto.getStartDate()) && ObjUtil.isNull(dto.getEndDate()) && ObjUtil.isNull(dto.getSpecifiedDate())) {
|
|
980
|
980
|
dto.setEndDate(LargeScreenDateUtils.getCurrentDate());
|
|
|
@@ -985,8 +985,14 @@ public class SysLearningGrowthServiceImpl implements ISysLearningGrowthService {
|
|
985
|
985
|
Long deptId = dto.getDeptId();
|
|
986
|
986
|
if (ObjUtil.isNotNull(deptId)) {
|
|
987
|
987
|
SysDept sysDept = sysDeptService.selectDeptById(deptId);
|
|
988
|
|
- if (!StrUtil.equals(DeptTypeEnum.BRIGADE.getCode(), sysDept.getDeptType())) {
|
|
989
|
|
- dto.setDeptId(null);
|
|
|
988
|
+ if (StrUtil.equals(DeptTypeEnum.BRIGADE.getCode(), sysDept.getDeptType())) {
|
|
|
989
|
+ dto.setBrigadeId(deptId);
|
|
|
990
|
+ } else if (StrUtil.equals(DeptTypeEnum.MANAGER.getCode(), sysDept.getDeptType())) {
|
|
|
991
|
+ dto.setDepartmentId(deptId);
|
|
|
992
|
+ } else if (StrUtil.equals(DeptTypeEnum.TEAMS.getCode(), sysDept.getDeptType())) {
|
|
|
993
|
+ dto.setTeamId(deptId);
|
|
|
994
|
+ } else {
|
|
|
995
|
+
|
|
990
|
996
|
}
|
|
991
|
997
|
}
|
|
992
|
998
|
|