| | |
| | | import com.ltkj.common.core.domain.AjaxResult; |
| | | import com.ltkj.framework.config.UserHoder; |
| | | import com.ltkj.hosp.domain.LtkjJianchajianyanTree; |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | | import com.ltkj.hosp.domain.TjOrder; |
| | | import com.ltkj.hosp.domain.TjProject; |
| | | import com.ltkj.hosp.hisDto.*; |
| | |
| | | private LtkjHysqdService hysqdService; |
| | | @Autowired |
| | | private LtkjHybgdService hybgdService; |
| | | @Autowired |
| | | private ITjCustomerService tjCustomerService; |
| | | |
| | | /** |
| | | * 获取pacs检查数据 |
| | |
| | | wrapper.eq(TjOrder::getTjNumber,tjNum); |
| | | TjOrder order = tjOrderService.getOne(wrapper); |
| | | mzh = order.getCardId(); |
| | | LambdaQueryWrapper<TjCustomer> wrapper1 = new LambdaQueryWrapper<>(); |
| | | wrapper1.eq(TjCustomer::getCusId,order.getUserId()); |
| | | TjCustomer tjCustomer = tjCustomerService.getOne(wrapper1); |
| | | name = tjCustomer.getCusName(); |
| | | } |
| | | List<Map<String, Object>> jcList = testMapper.getPacsJcList(name, mzh, start, end); |
| | | if (jcList.isEmpty()){ |
| | |
| | | wrapper.eq(TjOrder::getTjNumber,tjNum); |
| | | TjOrder order = tjOrderService.getOne(wrapper); |
| | | mzh = order.getCardId(); |
| | | LambdaQueryWrapper<TjCustomer> wrapper1 = new LambdaQueryWrapper<>(); |
| | | wrapper1.eq(TjCustomer::getCusId,order.getUserId()); |
| | | TjCustomer tjCustomer = tjCustomerService.getOne(wrapper1); |
| | | name = tjCustomer.getCusName(); |
| | | } |
| | | List<Map<String, Object>> jcList = testMapper.getPacsJcList(name, mzh, start, end); |
| | | return AjaxResult.success(jcList); |
| | |
| | | wrapper.eq(TjOrder::getTjNumber,tjNum); |
| | | TjOrder order = tjOrderService.getOne(wrapper); |
| | | mzh = order.getCardId(); |
| | | LambdaQueryWrapper<TjCustomer> wrapper1 = new LambdaQueryWrapper<>(); |
| | | wrapper1.eq(TjCustomer::getCusId,order.getUserId()); |
| | | TjCustomer tjCustomer = tjCustomerService.getOne(wrapper1); |
| | | name = tjCustomer.getCusName(); |
| | | } |
| | | List<Map<String, Object>> jcList = testMapper.getLisJyList(name, mzh, start, end); |
| | | return AjaxResult.success(jcList); |