From b30214316288913ab88381196e087dda20142dd2 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Fri, 15 Feb 2019 10:55:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lyms/platform/operate/web/facade/PatientServiceFacade.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java index 2e5b041..8ff4f01 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java @@ -310,10 +310,10 @@ public class PatientServiceFacade { //服务开通操作人 pser.setUpdateUser(String.valueOf(userId)); - if (serInfo.containsKey("device")) { + if (serInfo.containsKey("device") && StringUtils.isNotEmpty(serInfo.get("device")) ) { pser.setDevice(Integer.parseInt(serInfo.get("device"))); } - if (serInfo.containsKey("deviceCon")) { + if (serInfo.containsKey("deviceCon") && StringUtils.isNotEmpty(serInfo.get("deviceCon")) ) { pser.setDeviceCon(Integer.parseInt(serInfo.get("deviceCon"))); } if (serInfo.containsKey("doctorWeek")) { -- 1.8.3.1