Browse Source

数据库连接修改

lvzhikai 6 years ago
parent
commit
7a41c4534d

+ 3 - 3
src/main/java/com/chinaitop/depot/agent/temperature/mapper/BusinessAgentTemperatureMapper.xml

@@ -729,8 +729,8 @@
729 729
       DATE_FORMAT(t1.cjsj, '%Y-%m-%d') AS cjsj,
730 730
       t1.UnitID
731 731
     FROM
732
-      `lsreport_ts`.`data_kcgl_kcsw_default` t1
733
-    LEFT JOIN `depot`.`basic_storehouse` t2 ON t1.UnitID = t2.org_id
732
+      `lsreport_ts_yunnan`.`data_kcgl_kcsw_default` t1
733
+    LEFT JOIN `depot_yunnan`.`basic_storehouse` t2 ON t1.UnitID = t2.org_id
734 734
     AND t1.ch = t2.storehouse_id
735 735
     AND t2.del_flag = 1
736 736
     AND t2.library_type = '0'
@@ -739,7 +739,7 @@
739 739
         SELECT DISTINCT
740 740
           depot_id
741 741
         FROM
742
-          `depot`.`business_agent_depot`
742
+          `depot_yunnan`.`business_agent_depot`
743 743
         WHERE
744 744
           org_id =  #{orgId,jdbcType=INTEGER}
745 745
       )