Quellcode durchsuchen

Merge branch 'dev' of trick9191/wlyy2.0 into dev

trick9191 vor 5 Jahren
Ursprung
Commit
ba56330389

+ 5 - 0
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/PrescriptionService.java

@ -1599,13 +1599,18 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
            rs.put("photo",doctorDO.getPhoto());
            rs.put("consultStatus",doctorDO.getConsultStatus());
            rs.put("outpatientType",doctorDO.getOutpatientType());
            rs.put("expertise",doctorDO.getExpertise());
            rs.put("introduce",doctorDO.getIntroduce());
            //机构科室信息
            List<BaseDoctorHospitalDO> hospitalDOs =  baseDoctorHospitalDao.findByDoctorCode(doctorDO.getId());
            if(hospitalDOs!=null&&hospitalDOs.size()>0){
               rs.put("hospital",hospitalDOs.get(0));
               BaseOrgDO org = baseOrgDao.findOne(hospitalDOs.get(0).getOrgCode());
               rs.put("winNo",org.getWinNo());
            }else{
               rs.put("hospital",null);
               rs.put("winNo",null);
            }