晨检,垃圾处理,自检,食堂,留样管理改进

This commit is contained in:
林华觞
2025-06-26 15:09:09 +08:00
parent 906fbfd389
commit ec34635a82
17 changed files with 85 additions and 22 deletions

View File

@@ -23,10 +23,10 @@
and sc.school_name like concat('%',#{schoolName},'%')
</if>
<if test="beginTime !=null">
AND date_format(sc.create_time,'%Y%m%d') &lt;= date_format(#{beginTime},'%Y%m%d')
AND date_format(sa.create_time,'%Y%m%d') &gt;= date_format(#{beginTime},'%Y%m%d')
</if>
<if test="endTime !=null">
AND date_format(sc.create_time,'%Y%m%d') &gt;= date_format(#{endTime})
AND date_format(sa.create_time,'%Y%m%d') &lt;= date_format(#{endTime},'%Y%m%d')
</if>
</where>
order by sa.create_time desc