Commit cd889373f11005ae5848c69c38480a95842c3650

Authored by zhangchao
1 parent 21c632878f
Exists in dev

#fix:优化小程序儿保查询逻辑

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceFacade.java View file @ cd88937
... ... @@ -2007,7 +2007,7 @@
2007 2007 public BaseResponse getPuerperaFmList(String parentId){
2008 2008 BaseResponse baseResponse = new BaseResponse();
2009 2009 Patients patients= patientsService.findOnePatientById(parentId);
2010   - if (patients==null||patients.getType()!=3){
  2010 + if (patients==null||patients.getType()!=3||StringUtils.isEmpty(patients.getCardNo())){
2011 2011 baseResponse.setErrorcode(ErrorCodeConstants.DATA_EXIST);
2012 2012 baseResponse.setErrormsg("数据异常");
2013 2013 return baseResponse;