| | |
| | | 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; |
| | |
| | | patTaskRelevance.setSfzh(serviceSubtask1.getSfzh()); |
| | | patTaskRelevance.setPhone(serviceSubtask1.getPhone()); |
| | | patTaskRelevance.setAddr(serviceSubtask1.getAddr()); |
| | | patTaskRelevance.setDeptName(serviceSubtask1.getDeptname()); |
| | | patTaskRelevance.setDeptName(serviceSubtask1.getLeaveldeptname()); |
| | | patTaskRelevance.setBedNo(serviceSubtask1.getBedNo()); |
| | | patTaskRelevance.setDiagname(serviceSubtask1.getLeavediagname()); |
| | | patTaskRelevance.setPatid(serviceSubtask1.getPatid()); |
| | |
| | | serviceSubtask.setAdmindate(serviceTaskVO.getVisittime()); |
| | | serviceSubtask.setRoomno(serviceTaskVO.getRoomno()); |
| | | serviceSubtask.setBedNo(serviceTaskVO.getBedno()); |
| | | serviceSubtask.setDeptname(serviceTaskVO.getDeptname()); |
| | | serviceSubtask.setDeptcode(serviceTaskVO.getDeptcode()); |
| | | serviceSubtask.setLeaveldeptname(serviceTaskVO.getDeptname()); |
| | | serviceSubtask.setLeaveldeptcode(serviceTaskVO.getDeptcode()); |
| | | serviceSubtask.setSendstate(6L); |
| | | serviceSubtask.setVisitTime(serviceTaskVO.getVisittime()); |
| | | serviceSubtask.setCreateTime(new Date()); |
| | |
| | | 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); |
| | | } |
| | | } |
| | | } |