|
@@ -68,10 +68,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and school_name like concat('%', #{schoolName}, '%')
|
|
|
</if>
|
|
|
<if test="startTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d')<![CDATA[ >= ]]> #{startTime}
|
|
|
+ and DATE_FORMAT(create_time,'%Y%m%d')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d') <![CDATA[ < ]]> #{endTime}
|
|
|
+ and DATE_FORMAT(create_time,'%Y%m%d') <![CDATA[ < ]]> #{endTime}
|
|
|
</if>
|
|
|
</where>
|
|
|
group by school,school_name
|
|
@@ -92,10 +92,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and school_name like concat('%', #{schoolName}, '%')
|
|
|
</if>
|
|
|
<if test="startTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d')<![CDATA[ >= ]]> #{startTime}
|
|
|
+ and DATE_FORMAT(create_time,'%Y%m%d')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d') <![CDATA[ < ]]> #{endTime}
|
|
|
+ and DATE_FORMAT(create_time,'%Y%m%d') <![CDATA[ < ]]> #{endTime}
|
|
|
</if>
|
|
|
</where>
|
|
|
order by success_time desc
|