forked from angelo/java-retail-app
Compare commits
No commits in common. "4273dfe2c1b20ade75bd88c4edd1a1f5b78ffc20" and "fb6b2d1d00f15119de63adda07d212789a4fc9dc" have entirely different histories.
4273dfe2c1
...
fb6b2d1d00
|
|
@ -156,7 +156,7 @@
|
|||
from sa_order so
|
||||
where so.del_flag = 0
|
||||
and so.order_status = 1
|
||||
and so.order_type in (41, 42)
|
||||
and so.order_type in (1, 2, 24, 25)
|
||||
and to_char(so.pay_time, 'yyyy-mm') = to_char(sysdate, 'yyyy-mm')
|
||||
) a
|
||||
left join (
|
||||
|
|
@ -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 (3, 26, 10)
|
||||
and to_char(so.pay_time, 'yyyy-mm') =
|
||||
to_char(sysdate, 'yyyy-mm')
|
||||
) b on 1 = 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue