luobang преди 2 години
родител
ревизия
de8004e494
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/main/resources/com/steerinfo/dil/mapper/OmstruckOrderMapper.xml

+ 3 - 3
src/main/resources/com/steerinfo/dil/mapper/OmstruckOrderMapper.xml

@@ -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') &lt; =   OO.ORDER_ISSUE_TIME
+                and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') &lt; =   OO.INSERT_TIME
             </if>
             <if test="startDate != null">
-                and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') &lt; =    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') &lt; =    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)