按时间筛选修改

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

@ -513,7 +513,7 @@
pm.projectName like concat('%',#{searchContant},'%') pm.projectName like concat('%',#{searchContant},'%')
</if> </if>
<if test="startTime!=null and startTime!='' and endTime!=null and endTime != ''">and et.creation_time between <if test="startTime!=null and startTime!='' and endTime!=null and endTime != ''">and et.creation_time 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(et.creation_time) date(et.creation_time)

Loading…
Cancel
Save