package com.ruoyi.web.controller.smartor; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.core.domain.entity.SysDept; import com.ruoyi.common.core.domain.entity.SysUser; import com.ruoyi.common.core.page.TableDataInfo; import com.ruoyi.common.enums.BusinessType; import com.ruoyi.common.utils.PageUtils; import com.ruoyi.common.utils.poi.ExcelUtil; import com.smartor.domain.PatMedInhosp; import com.smartor.domain.PatMedOuthosp; import com.smartor.domain.PatMedReq; import com.smartor.domain.PatMedRes; import com.smartor.service.IHNGatherPatArchiveService; import com.smartor.service.IPatMedOuthospService; import com.smartor.service.impl.HNGatherPatArchiveServiceImpl; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletResponse; import java.lang.reflect.Array; import java.util.List; /** * 河南采集患者信息接口Controller * * @author smartor * @date 2025-07-09 */ @RestController @RequestMapping("/smartor/hngather") @Api(description = "河南采集患者信息接口") public class HNGatherPatArchiveController extends BaseController { @Autowired private IHNGatherPatArchiveService ihnGatherPatArchiveService; /** * 河南数据采集 */ //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:list')") @PostMapping("/selectGatherList") @ApiOperation("河南数据采集") public Integer selectUserList(@RequestBody SysUser sysUser) { // Integer integer = ihnGatherPatArchiveService.selectUserList(null); // Integer deptInt = ihnGatherPatArchiveService.selectDeptList(null); // Integer icdInt = ihnGatherPatArchiveService.selectIcd10List(null); Integer integer = ihnGatherPatArchiveService.selectPatMedInhospList(new PatMedInhosp()); return integer; } }