|
@@ -90,10 +90,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="schoolName != null and schoolName != ''">
|
|
|
and school_name like concat('%', #{schoolName}, '%')
|
|
|
</if>
|
|
|
- <if test="startTime != null">
|
|
|
+ <if test="startTime != null and startTime != ''">
|
|
|
and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
- <if test="endTime != null">
|
|
|
+ <if test="endTime != null and endTime != '' ">
|
|
|
and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
|
</where>
|