This commit is contained in:
zhanglipeng
2021-08-13 12:21:17 +08:00
parent bdc5d70ed0
commit 8812229159
4 changed files with 7 additions and 0 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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">