Commit 3dbfcf1a4307129be0176a7811b04e9e7fdd9828
1 parent
2f7eed5dc6
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AuthenticationFacade.java
View file @
3dbfcf1
| ... | ... | @@ -73,6 +73,7 @@ |
| 73 | 73 | }else { |
| 74 | 74 | model.setVerifyYn(1); |
| 75 | 75 | } |
| 76 | + model.setYn(YnEnums.YES.getId()); | |
| 76 | 77 | authenticationService.add(model); |
| 77 | 78 | } catch (Exception e) { |
| 78 | 79 | e.printStackTrace(); |
| ... | ... | @@ -186,6 +187,7 @@ |
| 186 | 187 | |
| 187 | 188 | List<Map> result= null; |
| 188 | 189 | try { |
| 190 | + System.out.println(request.convertToQuery().convertToMongoQuery().toString()); | |
| 189 | 191 | List<Authentication> listPage=authenticationService.queryList(request,Sort.Direction.DESC,new String[]{"created"}); |
| 190 | 192 | result = new ArrayList<>(); |
| 191 | 193 | for (Authentication model : listPage) { |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
3dbfcf1
| ... | ... | @@ -363,7 +363,7 @@ |
| 363 | 363 | if(StringUtils.isNotEmpty(p.getId())){ |
| 364 | 364 | authenticationFacade.addOrUpDate(p.getVerifyInfo(), userId); |
| 365 | 365 | } |
| 366 | - | |
| 366 | + /**------------**/ | |
| 367 | 367 | /** 孕妇建档后把所有以前未使用的优惠券作废 */ |
| 368 | 368 | couponService.invalid(p.getPid(), "1,2,3,4,5,6,7,8"); |
| 369 | 369 | |
| ... | ... | @@ -1246,6 +1246,7 @@ |
| 1246 | 1246 | if(null != patient.getVerifyInfo() && StringUtils.isNotEmpty(patient.getVerifyInfo().getId())){ |
| 1247 | 1247 | authenticationFacade.addOrUpDate(patient.getVerifyInfo(), userId); |
| 1248 | 1248 | } |
| 1249 | + /**------------**/ | |
| 1249 | 1250 | //如果当前是建档医院,那么需要修改其他非建档医院的数据 |
| 1250 | 1251 | if (autoMatchFacade.checkBStatus(userId)) { |
| 1251 | 1252 | patientsService.updateBaseData(patient); |