From 9b2240cbd37241bfce796e6c60f1d176443ede1a Mon Sep 17 00:00:00 2001 From: chen <1251790704@qq.com> Date: Wed, 17 Nov 2021 11:21:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=8C=E8=AF=AD=E6=B3=95=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E6=95=B0=E6=8D=AE=E5=BA=93=E8=BF=9E=E6=8E=A5=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=EF=BC=8C=E5=8D=8E=E4=B8=BA=E4=BA=91=E5=86=85=E7=BD=91?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-prod.properties | 2 +- src/main/resources/mapper/tms/ProjectRecordDao.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 5f04b88..ce8c755 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -2,7 +2,7 @@ server.port=9090 server.servlet.context-path=/evaluation #\u6B63\u5F0F\u6570\u636E\u5E93\u8FDE\u63A5 -spring.datasource.url=jdbc:mysql://rm-wz90d92p0pf083nxzno.mysql.rds.aliyuncs.com:3306/huoran?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai +spring.datasource.url=jdbc:mysql://192.168.0.245:3306/huoran?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai spring.datasource.username=root spring.datasource.password=HuoRan@2021 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver diff --git a/src/main/resources/mapper/tms/ProjectRecordDao.xml b/src/main/resources/mapper/tms/ProjectRecordDao.xml index b143123..be2f9d6 100644 --- a/src/main/resources/mapper/tms/ProjectRecordDao.xml +++ b/src/main/resources/mapper/tms/ProjectRecordDao.xml @@ -64,7 +64,7 @@ and t.systemId = #{systemId} - GROUP BY c.recordId desc + GROUP BY c.recordId @@ -235,7 +235,7 @@ INNER JOIN tms_experimental_report re ON re.eventId = r.recordId WHERE c.userId = #{userId} AND projectPermissions = 0 - GROUP BY c.recordId DESC; + GROUP BY c.recordId @@ -261,7 +261,7 @@ AND tp.projectPermissions != 0 AND ter.eventId = tpr.recordId ORDER BY - tpr.recordId DESC; + tpr.recordId DESC \ No newline at end of file