|
@@ -77,10 +77,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 %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
+ and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
+ and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
|
</where>
|
|
|
group by school,school_name
|
|
@@ -105,10 +105,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 %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
+ and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
+ and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
|
</where>
|
|
|
|
|
@@ -132,10 +132,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 %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
+ and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
+ and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
|
</where>
|
|
|
|
|
@@ -155,10 +155,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 %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
+ and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S')<![CDATA[ >= ]]> #{startTime}
|
|
|
</if>
|
|
|
<if test="endTime != null">
|
|
|
- and DATE_FORMAT(create_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
+ and DATE_FORMAT(success_time,'%Y-%m-%d %H:%i:%S') <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
|
</where>
|
|
|
order by success_time desc
|