-- 当天
-- select count(id)from sgdj_order where is_outorder = '01' and date(last_update_date) = curdate()
-- select count(id)from sgdj_order where is_outorder = '01' and date(last_update_date) = curdate()
-- 前一天
select count(id)from sgdj_order where is_outorder = '00' and date(last_update_date) = SUBDATE(CURDATE(), 1)