yumeng 2 năm trước cách đây
mục cha
commit
799e1df337

+ 2 - 2
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/mapper/xml/IntranetSettlementMapper.xml

@@ -25,7 +25,7 @@
                             account_name AS accountName,
                             kuaishou_id AS ksId
                         FROM
-                            application.app_kuaishou_agent_report_d
+                            `application`.app_kuaishou_agent_report_d
                         WHERE
                             total_charged_in_yuan >0
                           and account_id = #{accountId}
@@ -54,7 +54,7 @@
                             contract_rebate_real_recharged as contractRebateRealRecharged,
                             direct_rebate_real_recharged as directRebateRealRecharged
                         FROM
-                            jeecg-boot.ctop_kuaishou_daily_flows
+                            `jeecg-boot`.ctop_kuaishou_daily_flows
                         WHERE
                             account_id = #{accountId}
                     ) t

+ 4 - 4
jeecg-boot-finance/src/main/resources/application-prod.yml

@@ -111,10 +111,10 @@ spring:
           password: hcst@2021
           driver-class-name: com.mysql.jdbc.Driver
         multi-datasource1:
-          url: jdbc:mysql://111.206.86.186:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=GMT%2B8
-          username: hcst
-          password: hcst@2021
-          driver-class-name: com.mysql.jdbc.Driver
+#          url: jdbc:mysql://111.206.86.186:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&serverTimezone=GMT%2B8
+#          username: hcst
+#          password: hcst@2021
+#          driver-class-name: com.mysql.jdbc.Driver
   #redis 配置
   redis:
     database: 0