## 看板复购数据包含五折专区;

This commit is contained in:
cabbage 2025-10-22 17:52:53 +08:00
parent 2326c9d9d9
commit 55dfdbe7c2
1 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@
from sa_order so
where so.del_flag = 0
and so.order_status = 1
and so.order_type in (43, 44)
and so.order_type in (43, 47)
and to_char(so.pay_time, 'yyyy-mm-dd') =
to_char(sysdate, 'yyyy-mm-dd')
) b on 1 = 1
@ -141,7 +141,7 @@
from sa_order so
where so.del_flag = 0
and so.order_status = 1
and so.order_type in (43, 44)
and so.order_type in (43, 47)
and to_char(so.pay_time, 'yyyy-mm-dd') =
to_char(sysdate - 1, 'yyyy-mm-dd')
) b on 1 = 1
@ -165,7 +165,7 @@
from sa_order so
where so.del_flag = 0
and so.order_status = 1
and so.order_type in (43, 44)
and so.order_type in (43, 47)
and to_char(so.pay_time, 'yyyy-mm') =
to_char(sysdate, 'yyyy-mm')
) b on 1 = 1