From 2ae1f765e75ba08ea635f6d019f7116ae12fb40a Mon Sep 17 00:00:00 2001 From: zhangye <654600784@qq.com> Date: Tue, 24 Mar 2020 18:35:16 +0800 Subject: [PATCH] 0324.4 --- health/src/main/resources/application.yml | 4 ++-- health/src/main/resources/mapper_dao/HealthRecordDao.xml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/health/src/main/resources/application.yml b/health/src/main/resources/application.yml index 5889ff7f..a3912bc7 100644 --- a/health/src/main/resources/application.yml +++ b/health/src/main/resources/application.yml @@ -1,4 +1,4 @@ spring: profiles: - active: test - include: common, util-test \ No newline at end of file + active: common + include: common, util-common \ No newline at end of file diff --git a/health/src/main/resources/mapper_dao/HealthRecordDao.xml b/health/src/main/resources/mapper_dao/HealthRecordDao.xml index 6d5256b6..daa6e400 100644 --- a/health/src/main/resources/mapper_dao/HealthRecordDao.xml +++ b/health/src/main/resources/mapper_dao/HealthRecordDao.xml @@ -84,6 +84,7 @@ and h.time >= #{startTime} ORDER By h.time DESC + limit 1