## 总裁看板复购添加秒杀订单统计;
This commit is contained in:
parent
4fddb0b9b6
commit
cb12579d70
|
|
@ -119,7 +119,7 @@
|
||||||
from sa_order so
|
from sa_order so
|
||||||
where so.del_flag = 0
|
where so.del_flag = 0
|
||||||
and so.order_status = 1
|
and so.order_status = 1
|
||||||
and so.order_type in (3, 26, 10)
|
and so.order_type in (3, 14, 26, 10)
|
||||||
and to_char(so.pay_time, 'yyyy-mm-dd') =
|
and to_char(so.pay_time, 'yyyy-mm-dd') =
|
||||||
to_char(sysdate, 'yyyy-mm-dd')
|
to_char(sysdate, 'yyyy-mm-dd')
|
||||||
) b on 1 = 1
|
) b on 1 = 1
|
||||||
|
|
@ -141,7 +141,7 @@
|
||||||
from sa_order so
|
from sa_order so
|
||||||
where so.del_flag = 0
|
where so.del_flag = 0
|
||||||
and so.order_status = 1
|
and so.order_status = 1
|
||||||
and so.order_type in (3, 26, 10)
|
and so.order_type in (3, 14, 26, 10)
|
||||||
and to_char(so.pay_time, 'yyyy-mm-dd') =
|
and to_char(so.pay_time, 'yyyy-mm-dd') =
|
||||||
to_char(sysdate - 1, 'yyyy-mm-dd')
|
to_char(sysdate - 1, 'yyyy-mm-dd')
|
||||||
) b on 1 = 1
|
) b on 1 = 1
|
||||||
|
|
@ -165,7 +165,7 @@
|
||||||
from sa_order so
|
from sa_order so
|
||||||
where so.del_flag = 0
|
where so.del_flag = 0
|
||||||
and so.order_status = 1
|
and so.order_status = 1
|
||||||
and so.order_type in (3, 26, 10)
|
and so.order_type in (3, 14, 26, 10)
|
||||||
and to_char(so.pay_time, 'yyyy-mm') =
|
and to_char(so.pay_time, 'yyyy-mm') =
|
||||||
to_char(sysdate, 'yyyy-mm')
|
to_char(sysdate, 'yyyy-mm')
|
||||||
) b on 1 = 1
|
) b on 1 = 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue