// 数据库日期函数 查规定时间段内是否有记录
$map['_string'] = "doe.order_id is not null AND oe.order_id is not null AND (((UNIX_TIMESTAMP(oe.send_at)<='".$rent_start_date."')AND(UNIX_TIMESTAMP(oe.receive_at)>='".$rent_end_date."')) OR ((UNIX_TIMESTAMP(oe.send_at)<='".$rent_end_date."') AND (UNIX_TIMESTAMP(oe.receive_at)>='".$rent_start_date."')) OR((UNIX_TIMESTAMP(oe.receive_at)>='".$rent_start_date."') AND (UNIX_TIMESTAMP(oe.send_at)<='".$rent_end_date."'))) ";