@@ -30,7 +30,7 @@ | |||
and q.status = #{query.status} | |||
</if> | |||
<if test="query.inspectTime != null and query.inspectTime !=''"> | |||
and DATE_FORMAT(q.create_time,"%Y-%m-%d") between #{query.inspectStartTime} and #{query.inspectEndTime} | |||
and q.create_time between #{query.inspectStartTime} and #{query.inspectEndTime} | |||
</if> | |||
ORDER BY q.id DESC | |||
</select> |