소스 검색

transport_mode

ShuanghongS 1 개월 전
부모
커밋
78e18c2bc3
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 2
      service/destination_delivery.class.php
  2. 4 4
      service/ocean_order.class.php

+ 2 - 2
service/destination_delivery.class.php

@@ -1311,9 +1311,9 @@ class destination_delivery {
                         on oo.agent = dc.station_code
                     where  1=1 and 
                         case when dc.booking_window = 'Restrictions_ETD_ATD' and COALESCE(dc.booking_window_date_start,'')<>'' and 	COALESCE(dc.booking_window_date_end,'')<>''
-                                then COALESCE(atd, etd) >= (NOW() - (dc.booking_window_date_start ||' days')::INTERVAL)::date and  COALESCE(atd, etd) <= (NOW() + (dc.booking_window_date_end ||' days')::INTERVAL)::date
+                                then COALESCE(atd, etd) >= (NOW() + (dc.booking_window_date_start ||' days')::INTERVAL)::date and  COALESCE(atd, etd) <= (NOW() + (dc.booking_window_date_end ||' days')::INTERVAL)::date
                             when dc.booking_window = 'Restrictions_ETA_ATA' and COALESCE(dc.booking_window_date_start,'')<>'' and 	COALESCE(dc.booking_window_date_end,'')<>''
-                                then COALESCE(ata, eta) >= (NOW() - (dc.booking_window_date_start ||' days')::INTERVAL)::date and  COALESCE(ata, eta) <= (NOW() + (dc.booking_window_date_end ||' days')::INTERVAL)::date
+                                then COALESCE(ata, eta) >= (NOW() + (dc.booking_window_date_start ||' days')::INTERVAL)::date and  COALESCE(ata, eta) <= (NOW() + (dc.booking_window_date_end ||' days')::INTERVAL)::date
                         else 1=1 end 
             ),
             matched_data as (

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4 - 4
service/ocean_order.class.php


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.