Commit 3f8e773aa72b25b89ba4b7aede70b113ff140258
1 parent
955a0de82a
Exists in
master
and in
2 other branches
二院分娩接口调试修改
Showing 1 changed file with 7 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhddeyy/QhddeyyFmServiceImpl.java
View file @
3f8e773
| ... | ... | @@ -303,6 +303,7 @@ | 
| 303 | 303 | for (Fm allFm : allList) { | 
| 304 | 304 | // System.out.println("0-------------" + allFm.getBABY_PREGNANCY_OUT()); | 
| 305 | 305 | if (!"1".equals(allFm.getBABY_PREGNANCY_OUT())) { | 
| 306 | + System.out.println("BABY_PREGNANCY_OUT != 1"); | |
| 306 | 307 | continue; | 
| 307 | 308 | } | 
| 308 | 309 | if (StringUtils.isEmpty(allFm.getPHONE()) && StringUtils.isEmpty(allFm.getIDCARD())) { | 
| ... | ... | @@ -322,6 +323,7 @@ | 
| 322 | 323 | |
| 323 | 324 | //获取指定医生id | 
| 324 | 325 | try { | 
| 326 | + System.out.println("query hosptial chanke doctor--"); | |
| 325 | 327 | UsersQuery usersQuery = new UsersQuery(); | 
| 326 | 328 | usersQuery.setYn(YnEnums.YES.getId()); | 
| 327 | 329 | usersQuery.setOrgId(new Integer(Integer.parseInt(HOSPITALID))); | 
| ... | ... | @@ -344,7 +346,7 @@ | 
| 344 | 346 | && CollectionUtils.isNotEmpty(users) | 
| 345 | 347 | && CollectionUtils.isEmpty(patientses) | 
| 346 | 348 | ) { | 
| 347 | - System.out.println("没有档案数据:"+ allFm.toString()); | |
| 349 | + System.out.println("no patients in database:"+ allFm.toString()); | |
| 348 | 350 | continue; | 
| 349 | 351 | //20201230 半年后把这个注释了,不在添加 | 
| 350 | 352 | //patient = addPatients(users, allFm); | 
| ... | ... | @@ -446,7 +448,10 @@ | 
| 446 | 448 | Map deliveryMode = new HashMap(); //分娩方式 | 
| 447 | 449 | |
| 448 | 450 | String fmfs = ""; | 
| 449 | - if (allFm.getDELIVERY_MODE() != null && "手术产".equals(allFm.getDELIVERY_MODE())) { | |
| 451 | + if (allFm.getDELIVERY_MODE() != null | |
| 452 | + && ("手术产".equals(allFm.getDELIVERY_MODE()) | |
| 453 | + ||"剖宫产".equals(allFm.getDELIVERY_MODE())) | |
| 454 | + ) { | |
| 450 | 455 | fmfs = FmTypeEnums.O1.getId(); | 
| 451 | 456 | } else { | 
| 452 | 457 | fmfs = FmTypeEnums.O.getId(); |