排序
This commit is contained in:
@ -32,6 +32,7 @@
|
||||
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
||||
<if test="createTime != null ">and to_days(create_time) =to_days(#{createTime})</if>
|
||||
</where>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectByChildCheckinGroupDaysList" parameterType="ByChildCheckinDetail"
|
||||
|
@ -45,6 +45,7 @@
|
||||
<if test="createuserid != null ">and a.createuserid = #{createuserid}</if>
|
||||
<if test="id != null ">and a.id = #{id}</if>
|
||||
</where>
|
||||
order by a.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectByChildLearndevelopmentFamilyById" parameterType="Long"
|
||||
|
@ -45,6 +45,7 @@
|
||||
<if test="createuserid != null ">and a.createuserid = #{createuserid}</if>
|
||||
<if test="id != null ">and a.id = #{id}</if>
|
||||
</where>
|
||||
order by a.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectByChildLearndevelopmentTeacherById" parameterType="Long"
|
||||
|
@ -45,6 +45,8 @@
|
||||
</where>
|
||||
<!-- 数据范围过滤 -->
|
||||
${dataScope}
|
||||
|
||||
order by d.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectAllBySchoolNewsList" parameterType="BySchoolNews" resultMap="BySchoolNewsResult">
|
||||
@ -64,6 +66,8 @@
|
||||
<if test="checkTime != null ">and d.check_time = #{checkTime}</if>
|
||||
<if test="istb != null and istb != ''">and d.istb = #{istb}</if>
|
||||
</where>
|
||||
|
||||
order by d.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectBySchoolNewsById" parameterType="Long" resultMap="BySchoolNewsResult">
|
||||
|
Reference in New Issue
Block a user