sinake
3 天以前 a389acecd582e81c34037326d5808152f97efffb
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HNGatherPatArchiveController.java
@@ -38,6 +38,7 @@
@RestController
@RequestMapping("/smartor/hngather")
@Api(description = "河南采集患者信息接口")
public class HNGatherPatArchiveController extends BaseController {
    @Autowired
    private IHNGatherPatArchiveService ihnGatherPatArchiveService;
@@ -48,9 +49,39 @@
    @PostMapping("/hnDataGather")
    @ApiOperation("河南数据采集")
    public AjaxResult hnDataGather(@RequestBody HnDataGatherVO hnDataGatherVO) {
        log.info("开始按天同步用户数据,时间范围: {} 到 {}", hnDataGatherVO.getStartOutHospTime(), hnDataGatherVO.getEndOutHospTime());
        log.info("开始按天同步用户数据,时间范围: {} 到 {}", hnDataGatherVO.getStartTime(), hnDataGatherVO.getEndTime());
        Boolean aBoolean = ihnGatherPatArchiveService.hnDataGather(hnDataGatherVO);
        return AjaxResult.success(aBoolean);
    }
    /**
     * 查询疾病列表数据采集
     */
    @PostMapping("/selectIcd10List")
    @ApiOperation("查询疾病列表数据采集")
    public AjaxResult selectIcd10List(@RequestBody Icd10 icd10) {
        Integer integer = ihnGatherPatArchiveService.selectIcd10List(icd10);
        return AjaxResult.success(integer);
    }
    /**
     * 用户信息集合信息数据采集
     */
    @PostMapping("/selectUserList")
    @ApiOperation("用户信息集合信息数据采集")
    public AjaxResult selectUserList(@RequestBody SysUser sysUser) {
        Integer integer = ihnGatherPatArchiveService.selectUserList(sysUser);
        return AjaxResult.success(integer);
    }
    /**
     * 部门信息集合信息数据采集
     */
    @PostMapping("/selectDeptList")
    @ApiOperation("部门信息集合信息数据采集")
    public AjaxResult selectDeptList(@RequestBody SysDept sysDept) {
        Integer integer = ihnGatherPatArchiveService.selectDeptList(sysDept);
        return AjaxResult.success(integer);
    }
}