From c532781ef6375b8d8841c6275409029ef25b33e2 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Wed, 10 Nov 2021 10:32:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=BF=E5=BE=B7=E5=88=86=E5=A8=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/lyms/hospitalapi/lpfy/LpfyFmService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f908e00..22045f5 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 @@ -414,7 +414,7 @@ public class LpfyFmService implements IlpFyFmService { deliverAddRequest.setDueWeek(week); } - deliverAddRequest.setTireNumber(allFm.getFETUS_NUM() != null ? allFm.getFETUS_NUM() : 1);// 胎数(之前赋值为死值1) + deliverAddRequest.setTireNumber(StringUtils.isNotEmpty(allFm.getSFETUS_NUM()) ? Integer.parseInt( allFm.getSFETUS_NUM()) : 1);// 胎数(之前赋值为死值1) Integer placenta_Num = allFm.getPLACENTA_NUM(); if(placenta_Num!=null){ deliverAddRequest.setPlacenta(allFm.getPLACENTA_NUM().toString());// 胎盘(之前赋值为死值1) -- 1.8.3.1