diff --git a/platform-operate-api/src/main/java/com/lyms/hospitalapi/lpfy/LpfyFmService.java b/platform-operate-api/src/main/java/com/lyms/hospitalapi/lpfy/LpfyFmService.java index 778052d..d5bdb3c 100644 --- a/platform-operate-api/src/main/java/com/lyms/hospitalapi/lpfy/LpfyFmService.java +++ b/platform-operate-api/src/main/java/com/lyms/hospitalapi/lpfy/LpfyFmService.java @@ -231,29 +231,29 @@ public class LpfyFmService implements IlpFyFmService { request.setDueType(fmfs);//分娩方式 //request.setFetusCount(item.getDjt()); //第几胎 //request.setDueCount(item.getCjc());//第几产 - Integer weight = fm.getBABY_WEIGHT(); - Integer height = fm.getBABY_HEIGHT(); + String weight = fm.getSBABY_WEIGHT(); + String height = fm.getSBABY_HEIGHT(); if(weight!=null){ DecimalFormat df = new DecimalFormat("#.00"); - double w = Double.parseDouble(weight.toString()); + double w = Double.parseDouble(weight); request.setBabyWeight(df.format(w/1000)); //体重 } if(height!=null){ - request.setBabyHeight(height.toString()); //身长 + request.setBabyHeight(height); //身长 } Map map = new HashMap<>(); - Integer pf1 = fm.getBABY_APGAR_SCORE_ONE(); - Integer pf5 = fm.getBABY_APGAR_SCORE_FIVE(); - Integer pf10 = fm.getBABY_APGAR_SCORE_TEN(); + String pf1 = fm.getSBABY_APGAR_SCORE_ONE(); + String pf5 = fm.getSBABY_APGAR_SCORE_FIVE(); + String pf10 = fm.getSBABY_APGAR_SCORE_TEN(); if(pf1!=null){ - map.put("pf1", pf1.toString()); + map.put("pf1", pf1); } if(pf5!=null){ - map.put("pf5", pf5.toString()); + map.put("pf5", pf5); } if(pf10!=null){ - map.put("pf10", pf10.toString()); + map.put("pf10", pf10); } request.setApgarScore(map);