|
@@ -6828,10 +6828,11 @@
|
|
and to_date(#{endDate}, 'yyyy-mm-dd') >= to_date(to_char(ASM.SALE_MAKE_DATE,'yyyy-mm-dd'),'yyyy-mm-dd')
|
|
and to_date(#{endDate}, 'yyyy-mm-dd') >= to_date(to_char(ASM.SALE_MAKE_DATE,'yyyy-mm-dd'),'yyyy-mm-dd')
|
|
</if>
|
|
</if>
|
|
<if test="orderNoFlag == null">
|
|
<if test="orderNoFlag == null">
|
|
- and OO.ORDER_ID IS NOT NULL
|
|
|
|
|
|
+ AND ASM.SALE_MAKE_DATE IS NOT NULL
|
|
</if>
|
|
</if>
|
|
<if test="orderNoFlag != null">
|
|
<if test="orderNoFlag != null">
|
|
- and OO.ORDER_ID IS NULL
|
|
|
|
|
|
+ AND ASM.SALE_MAKE_DATE IS NULL
|
|
|
|
+ AND NVL(OO.CAPACITY_ID,0) != 35128
|
|
</if>
|
|
</if>
|
|
<if test="saleNo != null">
|
|
<if test="saleNo != null">
|
|
and aso.sale_number like '%${saleNo}%'
|
|
and aso.sale_number like '%${saleNo}%'
|