From d84704567ebc2defce8340c456361f123cf099e5 Mon Sep 17 00:00:00 2001 From: zhangchao Date: Tue, 16 Jul 2024 15:51:20 +0800 Subject: [PATCH] =?UTF-8?q?#fix:=E4=BC=98=E5=8C=96=E4=BD=93=E9=87=8D?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/operate/web/service/impl/PatientWeightServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java index ae761f0..5768488 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java @@ -261,7 +261,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient Map result = getWeightRangeIsNormal(patients, patientWeight); patientWeight.setIsNormal(result.get("isNormal")); patientWeight.setIsUp(Integer.parseInt(result.get("isUp"))); - patientWeight.setType(1); + patientWeight.setType(patients.getType()); patientWeight.setBuildDate(patients.getBookbuildingDate()); patientWeightService2.add(patientWeight); -- 1.8.3.1