|
@ -60,7 +60,7 @@ public class BaseDoctorExcelDOReader extends AExcelReader {
|
|
|
baseDoctorExcelDO.setHospitalInfo(replaceBlank(getCellCont(sheet, i, 5)));
|
|
|
baseDoctorExcelDO.setJobTitleName(replaceBlank(getCellCont(sheet, i, 6)));
|
|
|
baseDoctorExcelDO.setRoleInfo(replaceBlank(getCellCont(sheet, i, 7)));
|
|
|
baseDoctorExcelDO.setIsFamous(null == getCellCont(sheet, i, 8)?null:Integer.valueOf(replaceBlank(getCellCont(sheet, i, 7)).trim()));
|
|
|
baseDoctorExcelDO.setIsFamous(null == getCellCont(sheet, i, 8)?null:Integer.valueOf(replaceBlank(getCellCont(sheet, i, 8)).trim()));
|
|
|
baseDoctorExcelDO.setExpertise(replaceBlank(getCellCont(sheet, i, 9)));
|
|
|
baseDoctorExcelDO.setBrief(replaceBlank(getCellCont(sheet, i, 10)));
|
|
|
baseDoctorExcelDO.setExcelSeq(i);
|
|
@ -95,15 +95,15 @@ public class BaseDoctorExcelDOReader extends AExcelReader {
|
|
|
String orgCode = org[0];
|
|
|
String deptCode = dept[0];
|
|
|
String dutyCode = duty[0];
|
|
|
if(!baseOrgDao.existsByCode(orgCode)){
|
|
|
return 0;
|
|
|
}
|
|
|
if(!deptDao.existsByCodeAndOrgCode(deptCode,orgCode)){
|
|
|
return 0;
|
|
|
}
|
|
|
if(!dutyDao.existsByCode(dutyCode)){
|
|
|
return 0;
|
|
|
}
|
|
|
// if(!baseOrgDao.existsByCode(orgCode)){
|
|
|
// return 0;
|
|
|
// }
|
|
|
// if(!deptDao.existsByCodeAndOrgCode(deptCode,orgCode)){
|
|
|
// return 0;
|
|
|
// }
|
|
|
// if(!dutyDao.existsByCode(dutyCode)){
|
|
|
// return 0;
|
|
|
// }
|
|
|
}
|
|
|
}
|
|
|
if(StringUtils.isNotEmpty(baseDoctorExcelDO.getRoleInfo())){
|
|
@ -111,9 +111,9 @@ public class BaseDoctorExcelDOReader extends AExcelReader {
|
|
|
for(String role:roles){
|
|
|
String[] element = role.split(",");
|
|
|
String roleCode = element[0];
|
|
|
if(jobTitleDao.existsByCode(roleCode)){
|
|
|
return 0;
|
|
|
}
|
|
|
// if(jobTitleDao.existsByCode(roleCode)){
|
|
|
// return 0;
|
|
|
// }
|
|
|
}
|
|
|
}
|
|
|
return rs;
|