diff --git a/src/main/resources/mapper/tms/AchievementManagementDao.xml b/src/main/resources/mapper/tms/AchievementManagementDao.xml index 9479928..86d5420 100644 --- a/src/main/resources/mapper/tms/AchievementManagementDao.xml +++ b/src/main/resources/mapper/tms/AchievementManagementDao.xml @@ -450,7 +450,7 @@ and hpm.projectName like concat('%',#{searchContant},'%') and hpm.creationTime between - #{endTime} and #{startTime} + #{startTime} and #{endTime} and DATE_SUB(CURDATE(), INTERVAL #{month} month ) <= date(hpm.creationTime)