Browse Source

数据库连接更换

master
liwenxuan 2 months ago
parent
commit
25d399048f
  1. 4
      src/main/resources/application-dev.yml
  2. 4
      src/main/resources/application-prod.yml
  3. 16
      src/main/resources/mapper/FxfxdxMapper.xml

4
src/main/resources/application-dev.yml

@ -30,8 +30,8 @@ spring:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
password: Syncp1@nt password: Syncp1@nt
#url: jdbc:sqlserver://172.20.2.206:1433;databaseName=SyncPlant;encrypt=true;trustServerCertificate=true #url: jdbc:sqlserver://172.20.2.206:1433;databaseName=SyncPlant;encrypt=true;trustServerCertificate=true
url: jdbc:sqlserver://172.20.2.206:1433;databaseName=SyncPlant url: jdbc:sqlserver://172.20.2.53:1433;databaseName=SyncPlant
username: sa username: gkqg
hrnewlowcodeprod: hrnewlowcodeprod:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
password: kPMP6NafMsdccxDX password: kPMP6NafMsdccxDX

4
src/main/resources/application-prod.yml

@ -30,8 +30,8 @@ spring:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
password: Syncp1@nt password: Syncp1@nt
#url: jdbc:sqlserver://172.20.2.206:1433;databaseName=SyncPlant;encrypt=true;trustServerCertificate=true #url: jdbc:sqlserver://172.20.2.206:1433;databaseName=SyncPlant;encrypt=true;trustServerCertificate=true
url: jdbc:sqlserver://172.20.2.206:1433;databaseName=SyncPlant url: jdbc:sqlserver://172.20.2.53:1433;databaseName=SyncPlant
username: sa username: gkqg
hrnewlowcodeprod: hrnewlowcodeprod:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
password: kPMP6NafMsdccxDX password: kPMP6NafMsdccxDX

16
src/main/resources/mapper/FxfxdxMapper.xml

@ -724,7 +724,7 @@
</when> </when>
<otherwise> <otherwise>
<![CDATA[ <![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-08-01 00:00:00.000'
--AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE)) --AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]> ]]>
</otherwise> </otherwise>
@ -839,7 +839,7 @@
</when> </when>
<otherwise> <otherwise>
<![CDATA[ <![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-08-01 00:00:00.000'
--AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE)) --AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]> ]]>
</otherwise> </otherwise>
@ -968,7 +968,7 @@
</when> </when>
<otherwise> <otherwise>
<![CDATA[ <![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-08-01 00:00:00.000'
--AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE)) --AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]> ]]>
</otherwise> </otherwise>
@ -1074,7 +1074,7 @@
</when> </when>
<otherwise> <otherwise>
<![CDATA[ <![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-08-01 00:00:00.000'
--AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE)) --AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]> ]]>
</otherwise> </otherwise>
@ -1188,7 +1188,7 @@
</when> </when>
<otherwise> <otherwise>
<![CDATA[ <![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-08-01 00:00:00.000'
--AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE)) --AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]> ]]>
</otherwise> </otherwise>
@ -1294,7 +1294,7 @@
</when> </when>
<otherwise> <otherwise>
<![CDATA[ <![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-08-01 00:00:00.000'
--AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE)) --AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]> ]]>
</otherwise> </otherwise>
@ -1392,7 +1392,7 @@
</when> </when>
<otherwise> <otherwise>
<![CDATA[ <![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-08-01 00:00:00.000'
--AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE)) --AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]> ]]>
</otherwise> </otherwise>
@ -1489,7 +1489,7 @@
</when> </when>
<otherwise> <otherwise>
<![CDATA[ <![CDATA[
and a.APPLYTIME >= '2025-06-01 00:00:00.000' and a.APPLYTIME >= '2025-08-01 00:00:00.000'
--AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE)) --AND a.APPLYTIME < DATEADD(DAY, -7, CAST(GETDATE() AS DATE))
]]> ]]>
</otherwise> </otherwise>

Loading…
Cancel
Save