Commit b30214316288913ab88381196e087dda20142dd2

Authored by liquanyu
1 parent 83f97ea495

服务

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java View file @ b302143
... ... @@ -310,10 +310,10 @@
310 310 //服务开通操作人
311 311 pser.setUpdateUser(String.valueOf(userId));
312 312  
313   - if (serInfo.containsKey("device")) {
  313 + if (serInfo.containsKey("device") && StringUtils.isNotEmpty(serInfo.get("device")) ) {
314 314 pser.setDevice(Integer.parseInt(serInfo.get("device")));
315 315 }
316   - if (serInfo.containsKey("deviceCon")) {
  316 + if (serInfo.containsKey("deviceCon") && StringUtils.isNotEmpty(serInfo.get("deviceCon")) ) {
317 317 pser.setDeviceCon(Integer.parseInt(serInfo.get("deviceCon")));
318 318 }
319 319 if (serInfo.containsKey("doctorWeek")) {