From 71230794b02ae26783a2895fe5425cfcf5ae0e79 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 22 四月 2026 09:19:30 +0800
Subject: [PATCH] 【丽水】获取随访及时率 增加serviceType

---
 ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java
index 0de0204..27e4cfd 100644
--- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java
+++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/CollectHISController.java
@@ -31,10 +31,13 @@
     @PostMapping("/collect")
     @ApiOperation("鍚屾鐥呬汉鐩稿叧鏁版嵁")
     public AjaxResult hnDataGather(@RequestBody HnDataGatherVO hnDataGatherVO) {
+        try {
+            Integer count =ichService.sync();
+            return AjaxResult.success(count);
+        } catch (Exception ex) {
+            return AjaxResult.error(ex.getMessage());
+        }
 
-        //Boolean aBoolean = ichService.hnDataGather(hnDataGatherVO);
-       Integer count= ichService.sync();
-        return AjaxResult.success(count);
     }
 
     /**

--
Gitblit v1.9.3