公告时间

This commit is contained in:
2024-01-31 11:52:51 +08:00
parent 5458ec5b1c
commit a1ce90dfe4

View File

@@ -18,8 +18,8 @@
from applet_notice from applet_notice
<where> <where>
isShow !=2 isShow !=2
and date_format (startDate,'%Y-%m-%d') >= date_format(#{now},'%Y-%m-%d') and date_format (startDate,'%Y-%m-%d') &lt;= date_format(#{now},'%Y-%m-%d')
and date_format (endDate,'%Y-%m-%d') &lt;= date_format(#{now},'%Y-%m-%d') and date_format (endDate,'%Y-%m-%d') >= date_format(#{now},'%Y-%m-%d')
</where> </where>
</select> </select>
</mapper> </mapper>