| | |
| | | if(null !=order){ |
| | | TjProject project = projectService.getById(proId); |
| | | if(null !=project){ |
| | | List<TjProject> projects = projectService.getTjProjectListBySoneId(proId); |
| | | LambdaQueryWrapper<TjOrderDetail>wq1=new LambdaQueryWrapper<>(); |
| | | wq1.eq(TjOrderDetail::getProId,projects.get(0).getProParentId()); |
| | | wq1.eq(TjOrderDetail::getProId,proId); |
| | | wq1.eq(TjOrderDetail::getOrderId,order.getOrderId()); |
| | | TjOrderDetail detail = detailService.getOne(wq1); |
| | | if(null !=detail){ |
| | |
| | | jcbgd.setShysxm(xdtgmdjg.getCreateBy()); |
| | | jcbgd.setShysdm(xdtgmdjg.getCreateId()); |
| | | jcbgd.setYxzd(xdtgmdjg.getJcjl()); |
| | | jcbgd.setYxbx("未见异常"); |
| | | jcbgd.setYxbx(xdtgmdjg.getJcjl()); |
| | | jcbgd.setZdsj(DateUtil.format(date,"yyyy-MM-dd")); |
| | | jcbgd.setJcbw(""); |
| | | jcbgd.setLx("1"); |
| | | jcbgd.setSqsj(DateUtil.format(date,"yyyy-MM-dd")); |
| | | jcbgd.setCreateTime(date); |
| | | jcbgdService.save(jcbgd); |
| | | jcsqdService.saveLtkjExamJcsqd(xdtgmdjg.getCardId()); |
| | | jcsqdService.saveXdtLtkjExamJcsqd(xdtgmdjg.getCardId(),jcbgd.getTmh()); |
| | | |
| | | LambdaQueryWrapper<TjJcycxm> wq=new LambdaQueryWrapper<>(); |
| | | wq.eq(TjJcycxm::getTjh,xdtgmdjg.getTjh()); |
| | | wq.eq(TjJcycxm::getProId,xdtgmdjg.getProId()); |
| | | jcycxmService.remove(wq); |
| | | if(StringUtil.isNotBlank(xdtgmdjg.getJcjl())){ |
| | | String s = "。|;|;|,|,"; |
| | | String[] split = xdtgmdjg.getJcjl().replaceAll("\n", "。").split(s); |
| | | for (String jg : split) { |
| | | if(StringUtil.isNotBlank(jg) && !jg.contains("未见异常") |
| | | && !jg.contains("未见明显异常") && !jg.contains("未见占位") && !jg.contains("未见") |
| | | && !jg.contains("未见明显")&& !jg.contains("正常")&& !jg.contains("双侧椎间孔无狭窄")){ |
| | | TjJcycxm jcycxm=new TjJcycxm(); |
| | | jcycxm.setTjh(xdtgmdjg.getTjh()); |
| | | jcycxm.setYqid(""); |
| | | jcycxm.setProId(xdtgmdjg.getProId()); |
| | | jcycxm.setProName(xdtgmdjg.getProName()); |
| | | jcycxm.setCreateTime(new Date()); |
| | | jcycxm.setJcjg(jg); |
| | | jcycxmService.save(jcycxm); |
| | | } |
| | | } |
| | | } |
| | | } catch (Exception e) { |
| | | throw new RuntimeException(e); |
| | | } |