Commit 54d807ab60b7796d8940309cb45bfe27ab153528
1 parent
c481a98d34
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 9 additions and 9 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/linchengfy/LcfyFmService.java
View file @
54d807a
... | ... | @@ -361,7 +361,7 @@ |
361 | 361 | MatDeliverAddRequest deliverAddRequest = new MatDeliverAddRequest(); |
362 | 362 | Patients patient =null; |
363 | 363 | for (Fm allFm : allList) { |
364 | - System.out.println("0-------------" + allFm.getBABY_PREGNANCY_OUT()); | |
364 | +// System.out.println("0-------------" + allFm.getBABY_PREGNANCY_OUT()); | |
365 | 365 | if (!"1".equals(allFm.getBABY_PREGNANCY_OUT())) { |
366 | 366 | continue; |
367 | 367 | } |
368 | 368 | |
... | ... | @@ -376,9 +376,9 @@ |
376 | 376 | String[] strs = new String[]{allFm.getPHONE(), allFm.getIDCARD()}; |
377 | 377 | query.setPc(strs); |
378 | 378 | //查询该孕妇是否在孕产婴系统中建档 |
379 | - System.out.println("1----query--" + query.convertToQuery().convertToMongoQuery()); | |
379 | +// System.out.println("1----query--" + query.convertToQuery().convertToMongoQuery()); | |
380 | 380 | List <Patients> patientses = patientsService.queryPatient(query); |
381 | - System.out.println("2----patientses--" + ( CollectionUtils.isNotEmpty(patientses)?patientses.size():null)); | |
381 | +// System.out.println("2----patientses--" + ( CollectionUtils.isNotEmpty(patientses)?patientses.size():null)); | |
382 | 382 | |
383 | 383 | //获取指定医生id |
384 | 384 | try { |
385 | 385 | |
... | ... | @@ -390,11 +390,11 @@ |
390 | 390 | } catch (NumberFormatException e) { |
391 | 391 | e.printStackTrace(); |
392 | 392 | } |
393 | - System.out.println("3----users--" +( CollectionUtils.isNotEmpty(users)?users.size():null)); | |
393 | +// System.out.println("3----users--" +( CollectionUtils.isNotEmpty(users)?users.size():null)); | |
394 | 394 | |
395 | 395 | if (CollectionUtils.isNotEmpty(patientses) && patientses.size()>0) { |
396 | 396 | patient = patientses.get(0); |
397 | - System.out.println("4.1----patient.getId()--" +patient.getId()); | |
397 | +// System.out.println("4.1----patient.getId()--" +patient.getId()); | |
398 | 398 | |
399 | 399 | } else if (StringUtils.isNotEmpty(allFm.getNAME()) |
400 | 400 | && StringUtils.isNotEmpty(allFm.getBABY_DELIVERY_TIME()) |
401 | 401 | |
... | ... | @@ -406,11 +406,11 @@ |
406 | 406 | ) { |
407 | 407 | //20201230 半年后把这个注释了,不在添加 |
408 | 408 | patient = addPatients(users, allFm); |
409 | - System.out.println("4.2----patient.getId()--" +patient.getId()); | |
409 | +// System.out.println("4.2----patient.getId()--" +patient.getId()); | |
410 | 410 | } |
411 | 411 | |
412 | 412 | if (patient != null && StringUtils.isNotEmpty(patient.getId())) { |
413 | - System.out.println("5-----------"); | |
413 | +// System.out.println("5-----------"); | |
414 | 414 | if (CollectionUtils.isNotEmpty(users) && users.get(0).getId() != null) { |
415 | 415 | |
416 | 416 | Date dateTime = fmt.parse(allFm.getBABY_DELIVERY_TIME()); |
... | ... | @@ -457,7 +457,7 @@ |
457 | 457 | } |
458 | 458 | deliverAddRequest.setProdprocess(map); |
459 | 459 | deliverAddRequest.setTotalprocess(totalMap); |
460 | - System.out.println("6----------" + allFm.getDELIVER_DOCTOR()); | |
460 | +// System.out.println("6----------" + allFm.getDELIVER_DOCTOR()); | |
461 | 461 | |
462 | 462 | deliverAddRequest.setDeliverDoctor(allFm.getDELIVER_DOCTOR()); |
463 | 463 | deliverAddRequest.setDueDate(DateUtil.getyyyy_MM_dd(dueDate)); |
... | ... | @@ -565,7 +565,7 @@ |
565 | 565 | baby.setPregnancyOut(RenShenJieJuEnums.getIdByName("活产")); // 妊娠结局 |
566 | 566 | } |
567 | 567 | |
568 | - System.out.println("7-------------" + allFm.getBABY_PREGNANCY_OUT() == "1" ? "活产" : ""); | |
568 | +// System.out.println("7-------------" + allFm.getBABY_PREGNANCY_OUT() == "1" ? "活产" : ""); | |
569 | 569 | baby.setPregnancyOut(RenShenJieJuEnums.getIdByName("活产")); // 妊娠结局 |
570 | 570 | |
571 | 571 | baby.setDueTime(fmt.format(dueDate));//分娩时间 |