Parcourir la source

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

liubing il y a 3 ans
Parent
commit
b6b10fab7c

+ 2 - 3
svr/svr-cloud-care/src/main/java/com/yihu/jw/care/service/message/DoctorMessageService.java

@ -361,7 +361,7 @@ public class DoctorMessageService {
                    total += jdbcTemplate.queryForObject(sql,Integer.class);
                    total += jdbcTemplate.queryForObject(sql,Integer.class);
                }
                }
                if(doctorServicePermissionsService.isPermission(doctor,7)==1){
                /*if(doctorServicePermissionsService.isPermission(doctor,7)==1){
                    List<BaseDoctorHospitalDO> doctorHospitalDOs = doctorHospitalDao.findByDoctorCode(doctor);
                    List<BaseDoctorHospitalDO> doctorHospitalDOs = doctorHospitalDao.findByDoctorCode(doctor);
                    if (doctorHospitalDOs.size()>0){
                    if (doctorHospitalDOs.size()>0){
                        String hospital = doctorHospitalDOs.get(0).getOrgCode();
                        String hospital = doctorHospitalDOs.get(0).getOrgCode();
@ -369,8 +369,7 @@ public class DoctorMessageService {
                                "WHERE  o.hospital = '"+hospital+"'  AND o.`status` = 1 ";
                                "WHERE  o.hospital = '"+hospital+"'  AND o.`status` = 1 ";
                        total += jdbcTemplate.queryForObject(sql,Integer.class);
                        total += jdbcTemplate.queryForObject(sql,Integer.class);
                    }
                    }
                }
                }*/
            }
            }
            if (3==doctorDO.getLevel()){//教师
            if (3==doctorDO.getLevel()){//教师
                //上门、在线咨询
                //上门、在线咨询