fix
Helius
2021-11-18 ae0a1bdde246c8b0231dd07a99ecb9b965b6d0b6
gc-sys/src/main/resources/mapper/system/BannerMapper.xml
@@ -165,4 +165,14 @@
        set state = #{state}
        where  id = #{id}
    </update>
    <select id="selectSysPopupBystate" resultType="com.xzx.gc.entity.SysPopup">
        select * from xzx_sys_popup where state = #{state}
        and ((#{startTime} >= start_time and #{startTime} &lt;= end_time)
            or (#{endTime} >= start_time and #{endTime} &lt;= end_time)
            or (#{startTime} &lt;= start_time and #{endTime} >= end_time))
    </select>
</mapper>