Commit 5dd00e149027a484520355cafb456517170724f0
1 parent
0161501551
Exists in
master
and in
6 other branches
滦平分娩接口
Showing 1 changed file with 10 additions and 10 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/lpfy/LpfyFmService.java
View file @
5dd00e1
... | ... | @@ -231,29 +231,29 @@ |
231 | 231 | request.setDueType(fmfs);//分娩方式 |
232 | 232 | //request.setFetusCount(item.getDjt()); //第几胎 |
233 | 233 | //request.setDueCount(item.getCjc());//第几产 |
234 | - Integer weight = fm.getBABY_WEIGHT(); | |
235 | - Integer height = fm.getBABY_HEIGHT(); | |
234 | + String weight = fm.getSBABY_WEIGHT(); | |
235 | + String height = fm.getSBABY_HEIGHT(); | |
236 | 236 | if(weight!=null){ |
237 | 237 | DecimalFormat df = new DecimalFormat("#.00"); |
238 | - double w = Double.parseDouble(weight.toString()); | |
238 | + double w = Double.parseDouble(weight); | |
239 | 239 | request.setBabyWeight(df.format(w/1000)); //体重 |
240 | 240 | } |
241 | 241 | if(height!=null){ |
242 | - request.setBabyHeight(height.toString()); //身长 | |
242 | + request.setBabyHeight(height); //身长 | |
243 | 243 | } |
244 | 244 | |
245 | 245 | Map<String,String> map = new HashMap<>(); |
246 | - Integer pf1 = fm.getBABY_APGAR_SCORE_ONE(); | |
247 | - Integer pf5 = fm.getBABY_APGAR_SCORE_FIVE(); | |
248 | - Integer pf10 = fm.getBABY_APGAR_SCORE_TEN(); | |
246 | + String pf1 = fm.getSBABY_APGAR_SCORE_ONE(); | |
247 | + String pf5 = fm.getSBABY_APGAR_SCORE_FIVE(); | |
248 | + String pf10 = fm.getSBABY_APGAR_SCORE_TEN(); | |
249 | 249 | if(pf1!=null){ |
250 | - map.put("pf1", pf1.toString()); | |
250 | + map.put("pf1", pf1); | |
251 | 251 | } |
252 | 252 | if(pf5!=null){ |
253 | - map.put("pf5", pf5.toString()); | |
253 | + map.put("pf5", pf5); | |
254 | 254 | } |
255 | 255 | if(pf10!=null){ |
256 | - map.put("pf10", pf10.toString()); | |
256 | + map.put("pf10", pf10); | |
257 | 257 | } |
258 | 258 | |
259 | 259 | request.setApgarScore(map); |