|
|
|
@ -319,7 +319,7 @@ public class SystemSettingServiceImpl implements SystemSetttingService { |
|
|
|
|
for (String str : split) { |
|
|
|
|
s=s+str; |
|
|
|
|
} |
|
|
|
|
if (s.indexOf("2")!=-1){ |
|
|
|
|
if (s.indexOf("13")!=-1){//2
|
|
|
|
|
if (architectureName!=null&&architectureName!=""){ |
|
|
|
|
if (gradeName==null|gradeName==""){ |
|
|
|
|
StaffExportVo vo = new StaffExportVo(); |
|
|
|
@ -353,7 +353,7 @@ public class SystemSettingServiceImpl implements SystemSetttingService { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (s.indexOf("3")!=-1){ |
|
|
|
|
if (s.indexOf("14")!=-1){//3
|
|
|
|
|
if (architectureNameTwo!=null&&architectureNameTwo!=""){ |
|
|
|
|
if (gradeNameTwo==null|gradeNameTwo==""){ |
|
|
|
|
StaffExportVo vo = new StaffExportVo(); |
|
|
|
@ -390,13 +390,13 @@ public class SystemSettingServiceImpl implements SystemSetttingService { |
|
|
|
|
|
|
|
|
|
userInfoDao.addUserinfo(staffVo); |
|
|
|
|
for (String str : split){ |
|
|
|
|
if (Integer.parseInt(str)==2){ |
|
|
|
|
if (Integer.parseInt(str)==13){//2
|
|
|
|
|
Integer organizationId = systemSetttingDao.queryDepartmentNameOrganization(staffVo.getStaffProfessionalArchitectureName(),ConstantUtils.Keda_schoolId); |
|
|
|
|
Integer gradeId = systemSetttingDao.queryDepartmentNameGrade(staffVo.getStaffGradeName(),organizationId); |
|
|
|
|
staffVo.setStaffGradeId(gradeId).setStaffProfessionalArchitectureId(organizationId); |
|
|
|
|
boolean b = systemSetttingDao.addStaffManager(staffVo); |
|
|
|
|
if(!b){throw new RuntimeException();} |
|
|
|
|
}else if (Integer.parseInt(str)==3){ |
|
|
|
|
}else if (Integer.parseInt(str)==14){//3
|
|
|
|
|
Integer organizationId = systemSetttingDao.queryDepartmentNameOrganization(staffVo.getStaffProfessionalArchitectureNameTwo(),ConstantUtils.Keda_schoolId); |
|
|
|
|
Integer gradeId = systemSetttingDao.queryDepartmentNameGrade(staffVo.getStaffGradeNameTwo(),organizationId); |
|
|
|
|
staffVo.setStaffGradeId(gradeId).setStaffProfessionalArchitectureId(organizationId); |
|
|
|
|