|
@@ -897,11 +897,11 @@
|
|
|
and RCA.CARRIER_SSO_ID = #{carrierSSOId}
|
|
|
</if>
|
|
|
<if test="oneDate != null">
|
|
|
- and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') < = OO.ORDER_ISSUE_TIME
|
|
|
+ and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') < = OO.INSERT_TIME
|
|
|
</if>
|
|
|
<if test="startDate != null">
|
|
|
- and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') < = OO.ORDER_ISSUE_TIME
|
|
|
- and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= OO.ORDER_ISSUE_TIME
|
|
|
+ and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') < = OO.INSERT_TIME
|
|
|
+ and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= OO.INSERT_TIME
|
|
|
</if>
|
|
|
<if test="con!=null">
|
|
|
and ((instr(RCSE.CONSIGNEE_COMPANY_NAME, #{con}) > 0) or (instr(RS.SUPPLIER_NAME, #{con}) > 0)
|