创建时间:created_at
确认时间:vendor_confirmed_at
(WEEKDAY(a.created_at) > WEEKDAY(vendor_confirmed_at)) or (UNIX_TIMESTAMP(vendor_confirmed_at) - UNIX_TIMESTAMP(a.created_at))/3600/24 >= 7
创建时间的周几数 > 确认时间的周几数 => 时间垮了至少一个周末
>= 7 天说明跨越了7天以上,也过了至少一个周末
有咩有排除国家节假日的好思路呢?