Ver Fonte

优化与修复

lighter há 2 meses atrás
pai
commit
d6adb6c0fc

+ 1 - 1
pom.xml

@@ -23,7 +23,7 @@
         <thyy-haikang>0.0.5</thyy-haikang>
         <thyy-emr-query>1.5.1</thyy-emr-query>
         <thyy-thirdpart-api>0.0.4</thyy-thirdpart-api>
-        <thyy-scheduled>0.0.4</thyy-scheduled>
+        <thyy-scheduled>0.0.7</thyy-scheduled>
         <thyy-plugins>0.0.1</thyy-plugins>
         <thyy-hospitalized>0.0.1</thyy-hospitalized>
         <thyy-medinsur>0.0.1</thyy-medinsur>

+ 2 - 2
thyy-scheduled/src/main/java/org/thyy/scheduled/dao/DpccDao.java

@@ -13,14 +13,14 @@ public interface DpccDao {
             "rtrim(a.inpatient_no) as patNo,a.admiss_times as times, " +
             "rtrim(b.social_no) as idCard,source='2' " +
             "from zy_actpatient a,a_patient_mi b where a.zk_ward='1020700' " +
-            "and a.dpcc_upload_flag=0 and a.inpatient_no=b.inpatient_no")
+            "and a.inpatient_no=b.inpatient_no")
     List<Patient> getInpatientList();
 
     @Select("select " +
             "rtrim(a.patient_id) as patNo,a.times," +
             "rtrim(b.social_no) as idCard,source='1' " +
             "from mz_visit_table a,mz_patient_mi b where a.visit_dept_code='1020700' " +
-            "and a.dpcc_upload_flag=0 and datediff(day,a.visit_date,getdate())=#{offsetDay} " +
+            "and datediff(day,a.visit_date,getdate())=#{offsetDay} " +
             "and a.patient_id=b.patient_id")
     List<Patient> getOutpatientList(int offsetDay);
 

+ 1 - 1
thyy-scheduled/src/main/resources/application-prod.yml

@@ -55,7 +55,7 @@ spring:
       date-time: yyyy-MM-dd HH:mm:ss
 
 thyy:
-  main-address: http://172.16.32.133:8077
+  main-address: http://172.16.32.167:8077
   corpwx:
     corp-id-secret: wwf0b23c8b36012b34
     address-book-secret: wpHuNePfiDyotmpXjy5hUYGF0w8Ks5OPHSQp22z8oBk