2 Commits d90ac1f985 ... 26c64d66cb

Author SHA1 Message Date
  zdm 26c64d66cb Merge branch 'dev' of http://192.168.1.220:10080/Amoy2/wlyy2.0 into dev 5 years ago
  zdm b0e5e02aa3 bug 5 years ago

+ 7 - 5
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/entrance/EntranceService.java

@ -588,23 +588,23 @@ public class EntranceService {
                String icdcodes = "";
                String icdNames = "";
                if(icdName.length>0){
                if(icdName.length>1){
                    icdcodes += icdName[1];
                    icdNames += icdName[0];
                }
                if(diagTwo.length>0){
                if(diagTwo.length>1){
                    icdcodes += ","+diagTwo[1];
                    icdNames += ","+diagTwo[0];
                }
                if(diagThree.length>0){
                if(diagThree.length>1){
                    icdcodes += ","+diagThree[1];
                    icdNames += ","+diagThree[0];
                }
                if(diagFour.length>0){
                if(diagFour.length>1){
                    icdcodes += ","+diagFour[1];
                    icdNames += ","+diagFour[0];
                }
                if(diagFive.length>0){
                if(diagFive.length>1){
                    icdcodes += ","+diagFive[1];
                    icdNames += ","+diagFive[0];
                }
@ -911,6 +911,8 @@ public class EntranceService {
            hdmDo=new DictHospitalDeptDO();
            net.sf.json.JSONObject jsonObjectBody=(net.sf.json.JSONObject)object;
            String deptTypeCode=null==jsonObjectBody.get("Dept_Type_Code")?"":jsonObjectBody.get("Dept_Type_Code").toString();
            //是否为会诊科室
            String consultDeptFlag=null==jsonObjectBody.get("Consult_Dept_Flag")?"":jsonObjectBody.get("Consult_Dept_Flag").toString();
            if(StringUtils.isNotBlank(orgCodeMap.get(deptTypeCode))){
                hdmDo.setOrgCode(orgCode);
                hdmDo.setCode(null==jsonObjectBody.get("Dept_Code")?"":jsonObjectBody.get("Dept_Code").toString());