| | |
| | | import com.smartor.common.LyraTokenUtil; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.BaseOrganizationMapper; |
| | | import com.smartor.mapper.PatArchiveMapper; |
| | | import com.ruoyi.patarchive.mapper.PatArchiveMapper; |
| | | import com.smartor.service.ISvyTaskSingleService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | |
| | | if(ObjectUtils.isNotEmpty(patArchive.getIdcardno())){ |
| | | List<PatArchive> patArchives = patArchiveMapper.selectPatArchiveList(patArchive); |
| | | if(CollectionUtils.isNotEmpty(patArchives)){ |
| | | String patidHis = patArchives.get(0).getPatidHis(); |
| | | result = OkHttpExample.getUnsafe("http://192.200.81.189:9100/blj/view?BINGRENID="+ patidHis +"&YONGHUID=DBA", token); |
| | | String idcardno = patArchives.get(0).getIdcardno(); |
| | | result = OkHttpExample.getUnsafe("http://192.200.81.189:9100/blj/view?SHENFENZH="+ idcardno +"&YONGHUID=DBA", token); |
| | | } |
| | | } |
| | | } |