• 搜索字段-预约时间


    ui界面

    测试点思路:

    黑方框为预约时间,搜索时间段为白间隔段

    sql思路:

     实现方法:
    reserve_end_time  预约结束时间  /  reserve_begin_time 预约开始时间
    select * from ib_care_order where reserve_begin_time >='2019-05-01 9:30:00' and reserve_end_time <='2019-11-21 00:00:00'and deleted=0;   #开始时间 和 结束时间 符合 搜索的区间的订单
    select * from ib_care_order where reserve_end_time >='2019-05-01 9:30:00' and reserve_end_time  <='2019-11-21 00:00:00'and deleted=0;    #结束时间 在 搜索的 开始 到结束 时间区间值内
    select * from ib_care_order where reserve_begin_time <='2019-11-21 00:00:00' and reserve_begin_time >='2019-05-01 9:30:00'and deleted=0; #开始时间 在 搜索的 开始 到结束 时间区间值内
     
    -- 取上面得的订单 排重展示
  • 相关阅读:
    XV6文件系统
    XV6锁
    PC硬件以及引导加载器
    XV6第一个进程
    XV6操作系统接口
    XV6环境搭建及注意事项
    XV6文件系统
    XV6上下文切换
    少走弯路的十条忠告
    LIBCMTD.lib与libcpmtd冲突的解决方法。
  • 原文地址:https://www.cnblogs.com/kaibindirver/p/10445518.html
Copyright © 2020-2023  润新知