按时间筛选修改

hehai
jiakun.lin 4 years ago
parent 35f9322bb6
commit ed295971b9
  1. 2
      src/main/resources/mapper/tms/AchievementManagementDao.xml

@ -450,7 +450,7 @@
<if test="searchContant!=null and searchContant!=''">and hpm.projectName like concat('%',#{searchContant},'%') <if test="searchContant!=null and searchContant!=''">and hpm.projectName like concat('%',#{searchContant},'%')
</if> </if>
<if test="startTime!=null and startTime!='' and endTime!=null and endTime != ''">and hpm.creationTime between <if test="startTime!=null and startTime!='' and endTime!=null and endTime != ''">and hpm.creationTime between
#{endTime} and #{startTime} #{startTime} and #{endTime}
</if> </if>
<if test="month!=null and month != ''">and DATE_SUB(CURDATE(), INTERVAL #{month} month ) &lt;= <if test="month!=null and month != ''">and DATE_SUB(CURDATE(), INTERVAL #{month} month ) &lt;=
date(hpm.creationTime) date(hpm.creationTime)

Loading…
Cancel
Save