liusheng
2025-09-25 a7f132bc723df88c95b469260eb79ac247463442
ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java
@@ -31,9 +31,13 @@
    @PostMapping("/collect")
    @ApiOperation("同步病人相关数据")
    public AjaxResult hnDataGather(@RequestBody HnDataGatherVO hnDataGatherVO) {
        log.info("开始按天同步用户数据,时间范围: {} 到 {}", hnDataGatherVO.getStartTime(), hnDataGatherVO.getEndTime());
        Boolean aBoolean = ichService.hnDataGather(hnDataGatherVO);
        return AjaxResult.success(aBoolean);
        try {
            Integer count =ichService.sync();
            return AjaxResult.success(count);
        } catch (Exception ex) {
            return AjaxResult.error(ex.getMessage());
        }
    }
    /**