From 04fa1170edc2f47e9ad87ec5c7181ff7fc2ca501 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 25 十二月 2025 16:40:40 +0800
Subject: [PATCH] 【丽水】 景宁没有给随访时间,不发送通知短信

---
 smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java b/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java
index fd3b395..521654b 100644
--- a/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java
+++ b/smartor/src/main/java/com/smartor/service/impl/PatMedInhospServiceImpl.java
@@ -259,7 +259,10 @@
 
             } catch (Exception e) {
                 e.printStackTrace();
-                log.error("浜哄憳澶勭悊鍑哄紓甯镐簡锛歿}", e.getMessage());
+                log.error("浜哄憳绉戝澶勭悊鍑哄紓甯镐簡锛歿}", e.getMessage());
+                patMedInhosp1.setDeptcheckFlag("2");
+                patMedInhosp1.setLongTaskReason("浜哄憳绉戝澶勭悊寮傚父锛�" + e.getMessage());
+                patMedInhospMapper.updatePatMedInhosp(patMedInhosp1);
             }
         }
 
@@ -311,7 +314,10 @@
 
                 } catch (Exception e) {
                     e.printStackTrace();
-                    log.error("浜哄憳澶勭悊鍑哄紓甯镐簡锛歿}", e.getMessage());
+                    log.error("浜哄憳鐥呭尯澶勭悊鍑哄紓甯镐簡锛歿}", e.getMessage());
+                    pmiBQ1.setWardcheckFlag("2");
+                    pmiBQ1.setLongTaskReason("浜哄憳鐥呭尯澶勭悊寮傚父锛�" + e.getMessage());
+                    patMedInhospMapper.updatePatMedInhosp(pmiBQ1);
                 }
             }
 
@@ -363,7 +369,10 @@
 
                 } catch (Exception e) {
                     e.printStackTrace();
-                    log.error("浜哄憳澶勭悊鍑哄紓甯镐簡锛歿}", e.getMessage());
+                    log.error("浜哄憳鐤剧梾澶勭悊鍑哄紓甯镐簡锛歿}", e.getMessage());
+                    pmiJB.setDiagcheckFlag("2");
+                    pmiJB.setLongTaskReason("浜哄憳鐤剧梾澶勭悊寮傚父锛�" + e.getMessage());
+                    patMedInhospMapper.updatePatMedInhosp(pmiJB);
                 }
             }
         }
@@ -827,7 +836,13 @@
             serviceSubtask.setVisitTime(minusDay(newDate, StringUtils.isNotEmpty(config) ? Integer.parseInt(config) : 0));
             //鍒ゆ柇鏄笉鏄櫙瀹�
             if (patMedInhosp1.getOrgid().equals("47255004333112711A1001"))
+            {
                 serviceSubtask.setVisitTime(null);
+                //涓嶆墽琛�
+                serviceSubtask.setSendstate(4L);
+                serviceSubtask.setRemark("鏅畞娌℃湁缁欓殢璁挎椂闂达紝涓嶅彂閫侀�氱煡鐭俊");
+            }
+
 
             //濡傛灉璇ュ嚭闄㈣褰曟湁闅忚鏃堕棿锛屽垯鐢ㄤ粬鑷繁鐨勯殢璁挎椂闂�
             if (patMedInhosp1.getFudate() != null)

--
Gitblit v1.9.3