diff --git a/src/main/resources/mapper/tms/AchievementManagementDao.xml b/src/main/resources/mapper/tms/AchievementManagementDao.xml index 553bce1..3d895e8 100644 --- a/src/main/resources/mapper/tms/AchievementManagementDao.xml +++ b/src/main/resources/mapper/tms/AchievementManagementDao.xml @@ -457,7 +457,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) @@ -520,7 +520,7 @@ pm.projectName like concat('%',#{searchContant},'%') and et.creation_time between - #{endTime} and #{startTime} + #{startTime} and #{endTime} and DATE_SUB(CURDATE(), INTERVAL #{month} month ) <= date(et.creation_time)