Commit ba038d18f5baf69c234e7a164f0f1b3d532cdc53

Authored by liquanyu
1 parent 98552ea49a

分娩机构修改

Showing 1 changed file with 10 additions and 10 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ ba038d1
... ... @@ -1381,7 +1381,7 @@
1381 1381 result.setBabyHeight(model.getBabyHeight());
1382 1382 result.setBabyWeight(model.getBabyWeight());
1383 1383 result.setBabyHead(model.getBabyHead());
1384   - result.setDeliverOrg(model.getDeliverOrg());
  1384 + //result.setDeliverOrg(model.getDeliverOrg());
1385 1385 result.setMalformation(model.getMalformation());
1386 1386 result.setApgarScore(JsonUtil.str2Obj(model.getApgarScore(), Map.class));
1387 1387  
... ... @@ -1485,15 +1485,15 @@
1485 1485  
1486 1486 if (StringUtils.isNotEmpty(model.getDeliverOrg())) {
1487 1487 result.setDeliverOrg(model.getDeliverOrg());
1488   - if (org.apache.commons.lang.math.NumberUtils.isNumber(model.getDeliverOrg())) {
1489   - int orgId = NumberUtils.toInt(model.getDeliverOrg(), 0);
1490   - if (orgId > 0) {
1491   - Organization org = organizationService.getOrganization(orgId);
1492   - if (org == null) {
1493   - result.setDeliverOrg(org.getName());
1494   - }
1495   - }
1496   - }
  1488 +// if (org.apache.commons.lang.math.NumberUtils.isNumber(model.getDeliverOrg())) {
  1489 +// int orgId = NumberUtils.toInt(model.getDeliverOrg(), 0);
  1490 +// if (orgId > 0) {
  1491 +// Organization org = organizationService.getOrganization(orgId);
  1492 +// if (org == null) {
  1493 +// result.setDeliverOrg(org.getName());
  1494 +// }
  1495 +// }
  1496 +// }
1497 1497 }
1498 1498  
1499 1499 return result;