|
@ -64,7 +64,7 @@ public class TnyyEntranceService {
|
|
|
private DoctorMappingDao doctorMappingDao;
|
|
|
@Autowired
|
|
|
private YkDictIcd10Dao ykDictIcd10Dao;
|
|
|
private final static String orgCode ="350211A5004";
|
|
|
private final static String orgCode ="350211A1002";
|
|
|
@Autowired
|
|
|
private PatientMappingDao patientMappingDao;
|
|
|
|
|
@ -90,7 +90,7 @@ public class TnyyEntranceService {
|
|
|
String ksdm = deptObj.getString("KSDM");
|
|
|
String jgbm = deptObj.getString("JGBM");
|
|
|
String ksmc = deptObj.getString("KSMC");
|
|
|
List<DictHospitalDeptDO> list = hospitalDeptDao.findByOrgCodeAndCode(jgbm,ksdm);
|
|
|
List<DictHospitalDeptDO> list = hospitalDeptDao.findByOrgCodeAndCode(orgCode,ksdm);
|
|
|
if (list!=null&&list.size()!=0){
|
|
|
DictHospitalDeptDO dictHospitalDeptDO = list.get(0);
|
|
|
dictHospitalDeptDO.setCode(ksdm);
|
|
@ -142,10 +142,10 @@ public class TnyyEntranceService {
|
|
|
|
|
|
BaseDoctorDO doctor = doctorDOs.get(0);
|
|
|
|
|
|
String salt = randomString(5);
|
|
|
/*String salt = randomString(5);
|
|
|
String pw = idcard.substring(idcard.length() - 6);
|
|
|
doctor.setPassword(MD5.md5Hex(pw + "{" + salt + "}"));
|
|
|
doctor.setSalt(salt);
|
|
|
doctor.setSalt(salt);*/
|
|
|
|
|
|
/*doctor.setJobTitleCode(doctorJson.getString("jobtitlecode"));
|
|
|
doctor.setJobTitleName(doctorJson.getString("jobTitleName"));*/
|