SQL检测开始日期 结束日期 是否存在交叉
检测开始日期 结束日期 是否存在交叉where 1=1 "+tj+" and ((starttime>="+starttime+" and starttime<="+endtime+") " +"or (endtime>="+starttime+" and endtime<="+endtime+" ) or (starttime>="+starttime+" and endtime<="+endtime+" ) " +"or (starttime<="+starttime+" and endtime>="+endtime+" ))";