|
|
@@ -6841,11 +6841,11 @@
|
|
|
and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= to_date(to_char(ASOM.SALE_DATE_OF_RECEIPT,'yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss')
|
|
|
</if>
|
|
|
<if test="oneDate != null and dateType != null and dateType == 2">
|
|
|
- and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') < = to_date(to_char(ASM.SALE_MAKE_DATE,'yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss')
|
|
|
+ and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') < = to_date(to_char(OOR.INSERT_TIME,'yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss')
|
|
|
</if>
|
|
|
<if test="startDate != null and dateType != null and dateType == 2">
|
|
|
- and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') <= to_date(to_char(ASM.SALE_MAKE_DATE,'yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss')
|
|
|
- and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= to_date(to_char(ASM.SALE_MAKE_DATE,'yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss')
|
|
|
+ and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') <= to_date(to_char(OOR.INSERT_TIME,'yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss')
|
|
|
+ and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= to_date(to_char(OOR.INSERT_TIME,'yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss')
|
|
|
</if>
|
|
|
<if test="orderNoFlag == null">
|
|
|
AND ASM.SALE_MAKE_DATE IS NOT NULL
|