晨检,垃圾处理,自检,食堂,留样管理改进
This commit is contained in:
@@ -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') <= date_format(#{beginTime},'%Y%m%d')
|
||||
AND date_format(sa.create_time,'%Y%m%d') >= date_format(#{beginTime},'%Y%m%d')
|
||||
</if>
|
||||
<if test="endTime !=null">
|
||||
AND date_format(sc.create_time,'%Y%m%d') >= date_format(#{endTime})
|
||||
AND date_format(sa.create_time,'%Y%m%d') <= date_format(#{endTime},'%Y%m%d')
|
||||
</if>
|
||||
</where>
|
||||
order by sa.create_time desc
|
||||
|
||||
Reference in New Issue
Block a user