| | |
| | | import com.ruoyi.common.utils.RSAPublicKeyExample; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.http.HttpUtils; |
| | | import com.ruoyi.quartz.service.ICollectHISMapperService; |
| | | import com.ruoyi.quartz.service.impl.CollectHISMapperServiceImpl; |
| | | import com.smartor.common.LSHospTokenUtil; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.HeLibraryMapper; |
| | |
| | | |
| | | @Autowired |
| | | IXHGatherPatArchiveService ixhGatherPatArchiveService; |
| | | |
| | | @Autowired |
| | | ICollectHISMapperService icollectHis; |
| | | |
| | | |
| | | @Value("${appid}") |
| | |
| | | } |
| | | return toHex(md5.digest()); |
| | | } |
| | | |
| | | public void collectHIS() { |
| | | try { |
| | | // HIS数据采集 |
| | | HnDataGatherVO hnDataGatherVO = new HnDataGatherVO(); |
| | | log.info("【dealHisData】HIS开始采集数据"); |
| | | ihnGatherPatArchiveService.hnDataGather(hnDataGatherVO); |
| | | log.info("【dealHisData】HIS结束采集数据"); |
| | | } catch (Exception e) { |
| | | log.error("【dealHisData】HIS数据采集异常", e); |
| | | } |
| | | } |
| | | } |