|
@@ -239,6 +239,12 @@ class ocean_order {
|
|
|
if($format['auto_sync_to_station'] == "Origin and Destination Stations"){
|
|
if($format['auto_sync_to_station'] == "Origin and Destination Stations"){
|
|
|
//这个都同步,不需要手动补充记录去阻止文件的同步
|
|
//这个都同步,不需要手动补充记录去阻止文件的同步
|
|
|
}
|
|
}
|
|
|
|
|
+ } else {
|
|
|
|
|
+ //如果没有配置。这代表不同步文件
|
|
|
|
|
+ $sql .= "INSERT INTO public.ra_online_doc_upload_log(serial_no, station, download_time)
|
|
|
|
|
+ VALUES ('".$serial_no."', '" .common::check_input($destination_station) . "', now());";
|
|
|
|
|
+ $sql .= "INSERT INTO public.ra_online_doc_upload_log(serial_no, station, download_time)
|
|
|
|
|
+ VALUES ('".$serial_no."', '" .common::check_input($origin_station) . "', now());";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -1355,7 +1361,7 @@ class ocean_order {
|
|
|
//$document_data[] = array("file_type"=>$file_type,"file"=>$file_arr);
|
|
//$document_data[] = array("file_type"=>$file_type,"file"=>$file_arr);
|
|
|
//按现在的逻辑,有值才会显示
|
|
//按现在的逻辑,有值才会显示
|
|
|
foreach($file_arr as $f){
|
|
foreach($file_arr as $f){
|
|
|
- $document_data[] = array("file_type"=>$file_type,"file"=>$f);
|
|
|
|
|
|
|
+ $document_data[] = array("file_type"=>$f["format_name"],"file"=>$f);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|