Bladeren bron

患者列表增加返回签约CODE

huangwenjie 5 jaren geleden
bovenliggende
commit
2649f40bf5

+ 4 - 2
svr/svr-wlyy-specialist/src/main/java/com/yihu/jw/service/SpecialistService.java

@ -206,7 +206,8 @@ public class SpecialistService{
                " lb.label AS healthcode ," +
                " lb.label AS healthcode ," +
                " s.health_assistant AS healthAssistant," +
                " s.health_assistant AS healthAssistant," +
                " s.health_assistant_name AS healthAssistantName," +
                " s.health_assistant_name AS healthAssistantName," +
                " s.is_manage AS isManage" +
                " s.is_manage AS isManage," +
                " s.id AS specialCode" +
                " FROM " +
                " FROM " +
                " ( " +
                " ( " +
                "  SELECT " +
                "  SELECT " +
@ -239,7 +240,8 @@ public class SpecialistService{
                    "d.label AS healthcode," +
                    "d.label AS healthcode," +
                    "a.health_assistant AS healthAssistant," +
                    "a.health_assistant AS healthAssistant," +
                    "a.health_assistant_name AS healthAssistantName, " +
                    "a.health_assistant_name AS healthAssistantName, " +
                    "a.is_manage AS isManage " +
                    "a.is_manage AS isManage, " +
                    "a.id AS specialCode " +
                    "FROM wlyy_specialist.wlyy_specialist_patient_relation a " +
                    "FROM wlyy_specialist.wlyy_specialist_patient_relation a " +
                    "JOIN "+basedb+".wlyy_patient_disease_server b ON a.id=b.specialist_relation_code AND b.disease=" +labelCode+" and b.del=1 "+
                    "JOIN "+basedb+".wlyy_patient_disease_server b ON a.id=b.specialist_relation_code AND b.disease=" +labelCode+" and b.del=1 "+
                    "JOIN "+basedb+".wlyy_patient c ON a.patient=c.CODE " +
                    "JOIN "+basedb+".wlyy_patient c ON a.patient=c.CODE " +