|
|
@@ -213,17 +213,17 @@ public class LisSyncService {
|
|
|
log.error("同步LIS失败", e);
|
|
|
throw new RuntimeException("同步LIS失败");
|
|
|
}
|
|
|
+ });
|
|
|
|
|
|
- SampleCheckOrder co = new SampleCheckOrder();
|
|
|
- co.setId(checkOrder.getId());
|
|
|
- JSONObject ext = StrUtil.isNotBlank(checkOrder.getExtData()) ? JSON.parseObject(checkOrder.getExtData()) : new JSONObject();
|
|
|
- ext.fluentPut("lisId", scienceApply.getId()).fluentPut("lisSampleNo", scienceApply.getSampleNo());
|
|
|
- co.setExtData(ext.toString());
|
|
|
- co.updateById();
|
|
|
+ SampleCheckOrder co = new SampleCheckOrder();
|
|
|
+ co.setId(checkOrder.getId());
|
|
|
+ JSONObject ext = StrUtil.isNotBlank(checkOrder.getExtData()) ? JSON.parseObject(checkOrder.getExtData()) : new JSONObject();
|
|
|
+ ext.fluentPut("lisId", scienceApply.getId()).fluentPut("scienceApply", scienceApply);
|
|
|
+ co.setExtData(ext.toString());
|
|
|
+ co.updateById();
|
|
|
|
|
|
- log.info("同步lis数据库完成 sampleId={} ", sampleId);
|
|
|
- });
|
|
|
redisTemplate.opsForValue().set(LIS_PREFIX + DateUtil.today(), redisPrefix, 1, TimeUnit.DAYS);
|
|
|
+ log.info("同步lis数据库完成 sampleId={} ", sampleId);
|
|
|
}
|
|
|
|
|
|
/**
|