|
|
@@ -45,6 +45,9 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
//判断机构类型,如果机构类型大于行社,都展示行社数据
|
|
|
SysOrg sysOrg = orgService.selectSysOrgById(resumptionDTO.getOrgId(), SecurityConstants.INNER);
|
|
|
List<SysOrg> sysOrgs;
|
|
|
+ if (null==sysOrg.getType()){
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
if (sysOrg.getType() < 3 || sysOrg.getShortName().endsWith("地区行社") || sysOrg.getType() == 9) {
|
|
|
sysOrgs = orgService.selectSysOrgByPathAndType(sysOrg.getPath(), 3, SecurityConstants.INNER);
|
|
|
} else if (sysOrg.getType() == 3) {
|
|
|
@@ -183,6 +186,9 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
//判断机构类型,如果机构类型大于行社,都展示行社数据
|
|
|
SysOrg sysOrg = orgService.selectSysOrgById(resumptionDTO.getOrgId(), SecurityConstants.INNER);
|
|
|
List<SysOrg> sysOrgs;
|
|
|
+ if (null==sysOrg.getType()){
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
if (sysOrg.getType() < 3 || sysOrg.getShortName().endsWith("地区行社") || sysOrg.getType() == 9) {
|
|
|
sysOrgs = orgService.selectSysOrgByPathAndType(sysOrg.getPath(), 3, SecurityConstants.INNER);
|
|
|
} else if (sysOrg.getType() == 3) {
|
|
|
@@ -261,6 +267,9 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
//判断机构类型,如果机构类型大于行社,都展示行社数据
|
|
|
SysOrg sysOrg = orgService.selectSysOrgById(resumptionDTO.getOrgId(), SecurityConstants.INNER);
|
|
|
List<SysOrg> sysOrgs;
|
|
|
+ if (null==sysOrg.getType()){
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
if (sysOrg.getType() < 3 || sysOrg.getShortName().endsWith("地区行社") || sysOrg.getType() == 9) {
|
|
|
sysOrgs = orgService.selectSysOrgByPathAndType(sysOrg.getPath(), 3, SecurityConstants.INNER);
|
|
|
} else if (sysOrg.getType() == 3) {
|