| | |
| | | import com.ltkj.common.enums.DataSourceType; |
| | | import com.ltkj.framework.config.UserHoder; |
| | | import com.ltkj.framework.datasource.DynamicDataSourceContextHolder; |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | | import com.ltkj.hosp.domain.TjOrder; |
| | | import com.ltkj.hosp.domain.TjOrderRemark; |
| | | import com.ltkj.hosp.domain.TjProject; |
| | | import com.ltkj.hosp.domain.*; |
| | | import com.ltkj.hosp.service.*; |
| | | import com.ltkj.hosp.sqlDomain.*; |
| | | import com.ltkj.hosp.mapper.TestMapper; |
| | | import com.ltkj.system.service.ISysDeptService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import org.checkerframework.checker.units.qual.A; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.data.redis.core.ConvertingCursor; |
| | |
| | | private LtkjHisUserService hisUserService; |
| | | @Resource |
| | | private ITjProjectService tjProjectService; |
| | | @Autowired |
| | | private ITjOrderDetailService tjOrderDetailService; |
| | | @Resource |
| | | private ITjOrderRemarkService tjOrderRemarkService; |
| | | |
| | | |
| | | @GetMapping("/getTjHyBgList") |
| | | @ApiOperation(value = "查询lis数据库项目信息接口") |
| | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/getHuaYanProByTjNum") |
| | | @ApiOperation(value = "根据体检号查询化验项目接口") |
| | | public AjaxResult getHuaYanProByTjNum(@RequestParam @ApiParam(value = "体检号") String tjNumber) { |
| | | Map<String,Object> map=new HashMap<>(); |
| | | |
| | | List<TjOrderDetail> tjOrderDetails = tjOrderDetailService.addHuaYanTable(tjNumber); |
| | | List<TjOrderRemark> tjOrderRemarks = tjOrderRemarkService.addHuaYanTable(tjNumber); |
| | | map.put("tjOrderDetails",tjOrderDetails); |
| | | map.put("tjOrderRemarks",tjOrderRemarks); |
| | | return AjaxResult.success(map); |
| | | } |
| | | |
| | | |
| | | } |