You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2515 lines
158 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{$INCLUDE t_main.inc}
unit u_rp_query;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, BusinessSkinForm, bsSkinCtrls, RxLookup, wwdbdatetimepicker,inifiles,
StdCtrls, Mask, wwdbedit, Wwdotdot, Wwdbcomb, wwdblook, DB, ADODB;
type
Tfrm_rp_query = class(TForm)
bsBusinessSkinForm1: TbsBusinessSkinForm;
bsSkinButton1: TbsSkinButton;
bsSkinButton10: TbsSkinButton;
bsSkinButton5: TbsSkinButton;
Label7: TLabel;
wwDBComboBox17: TwwDBComboBox;
wwDBComboBox1: TwwDBComboBox;
Label4: TLabel;
wwDBComboBox7: TwwDBComboBox;
wwDBComboBox2: TwwDBComboBox;
Label10: TLabel;
wwDBComboBox18: TwwDBComboBox;
wwDBDateTimePicker1: TwwDBDateTimePicker;
Label5: TLabel;
wwDBComboBox6: TwwDBComboBox;
wwDBDateTimePicker2: TwwDBDateTimePicker;
Label8: TLabel;
wwDBComboBox19: TwwDBComboBox;
wwDBDateTimePicker3: TwwDBDateTimePicker;
Label11: TLabel;
wwDBComboBox11: TwwDBComboBox;
wwDBDateTimePicker4: TwwDBDateTimePicker;
Label9: TLabel;
wwDBComboBox21: TwwDBComboBox;
RxDBLookupCombo2: TRxDBLookupCombo;
Label22: TLabel;
wwDBComboBox28: TwwDBComboBox;
RxDBLookupCombo10: TRxDBLookupCombo;
RxDBLookupCombo12: TRxDBLookupCombo;
wwDBComboBox29: TwwDBComboBox;
Label23: TLabel;
Label14: TLabel;
wwDBComboBox14: TwwDBComboBox;
RxDBLookupCombo3: TRxDBLookupCombo;
Label16: TLabel;
wwDBComboBox25: TwwDBComboBox;
RxDBLookupCombo6: TRxDBLookupCombo;
Label15: TLabel;
wwDBComboBox24: TwwDBComboBox;
RxDBLookupCombo4: TRxDBLookupCombo;
Label32: TLabel;
wwDBComboBox38: TwwDBComboBox;
Edit9: TEdit;
Label1: TLabel;
wwDBComboBox3: TwwDBComboBox;
Edit1: TEdit;
RxDBLookupCombo17: TRxDBLookupCombo;
wwDBComboBox47: TwwDBComboBox;
Label42: TLabel;
wwDBComboBox46: TwwDBComboBox;
wwDBComboBox45: TwwDBComboBox;
Label41: TLabel;
bsSkinCheckRadioBox1: TbsSkinCheckRadioBox;
Label6: TLabel;
wwDBComboBox15: TwwDBComboBox;
Edit2: TEdit;
Label3: TLabel;
wwDBComboBox4: TwwDBComboBox;
Edit4: TEdit;
Label2: TLabel;
wwDBComboBox5: TwwDBComboBox;
wwDBComboBox8: TwwDBComboBox;
Label12: TLabel;
wwDBComboBox9: TwwDBComboBox;
wwDBComboBox10: TwwDBComboBox;
Label13: TLabel;
wwDBComboBox12: TwwDBComboBox;
Edit3: TEdit;
Label17: TLabel;
wwDBComboBox13: TwwDBComboBox;
Edit5: TEdit;
Label18: TLabel;
wwDBComboBox16: TwwDBComboBox;
RxDBLookupCombo1: TRxDBLookupCombo;
Label125: TLabel;
wwDBComboBox36: TwwDBComboBox;
wwDBLookupCombo49: TwwDBLookupCombo;
Label30: TLabel;
wwDBComboBox35: TwwDBComboBox;
Edit7: TEdit;
Label21: TLabel;
wwDBComboBox20: TwwDBComboBox;
RxDBLookupCombo20: TRxDBLookupCombo;
Label19: TLabel;
wwDBComboBox22: TwwDBComboBox;
RxDBLookupCombo5: TRxDBLookupCombo;
t_code_trade: TADOQuery;
t_code_trade1: TDataSource;
Label24: TLabel;
wwDBComboBox23: TwwDBComboBox;
RxDBLookupCombo7: TRxDBLookupCombo;
Label20: TLabel;
wwDBComboBox26: TwwDBComboBox;
RxDBLookupCombo8: TRxDBLookupCombo;
Label25: TLabel;
wwDBComboBox27: TwwDBComboBox;
RxDBLookupCombo9: TRxDBLookupCombo;
Label26: TLabel;
wwDBComboBox30: TwwDBComboBox;
RxDBLookupCombo11: TRxDBLookupCombo;
Label27: TLabel;
wwDBComboBox31: TwwDBComboBox;
RxDBLookupCombo16: TRxDBLookupCombo;
Label44: TLabel;
wwDBComboBox49: TwwDBComboBox;
RxDBLookupCombo13: TRxDBLookupCombo;
Label28: TLabel;
wwDBComboBox32: TwwDBComboBox;
RxDBLookupCombo14: TRxDBLookupCombo;
Label29: TLabel;
wwDBComboBox33: TwwDBComboBox;
RxDBLookupCombo15: TRxDBLookupCombo;
Label31: TLabel;
wwDBComboBox34: TwwDBComboBox;
wwDBDateTimePicker5: TwwDBDateTimePicker;
Label33: TLabel;
wwDBComboBox37: TwwDBComboBox;
wwDBDateTimePicker6: TwwDBDateTimePicker;
Label47: TLabel;
wwDBComboBox52: TwwDBComboBox;
wwDBComboBox53: TwwDBComboBox;
Label34: TLabel;
wwDBComboBox39: TwwDBComboBox;
Edit6: TEdit;
Label35: TLabel;
wwDBComboBox40: TwwDBComboBox;
Edit8: TEdit;
Label36: TLabel;
wwDBComboBox41: TwwDBComboBox;
RxDBLookupCombo19: TRxDBLookupCombo;
Label37: TLabel;
Label38: TLabel;
wwDBComboBox43: TwwDBComboBox;
wwDBDateTimePicker7: TwwDBDateTimePicker;
wwDBComboBox44: TwwDBComboBox;
wwDBDateTimePicker8: TwwDBDateTimePicker;
Label39: TLabel;
wwDBComboBox48: TwwDBComboBox;
RxDBLookupCombo18: TRxDBLookupCombo;
wwDBComboBox42: TwwDBComboBox;
Label40: TLabel;
Label45: TLabel;
wwDBComboBox50: TwwDBComboBox;
wwDBDateTimePicker9: TwwDBDateTimePicker;
wwDBComboBox51: TwwDBComboBox;
wwDBDateTimePicker10: TwwDBDateTimePicker;
wwDBComboBox54: TwwDBComboBox;
Label46: TLabel;
Label48: TLabel;
Label124: TLabel;
wwDBLookupCombo3: TwwDBLookupCombo;
wwDBLookupCombo52: TwwDBLookupCombo;
wwDBComboBox55: TwwDBComboBox;
wwDBComboBox56: TwwDBComboBox;
Label49: TLabel;
wwDBComboBox57: TwwDBComboBox;
Edit10: TEdit;
Label50: TLabel;
wwDBComboBox58: TwwDBComboBox;
RxDBLookupCombo21: TRxDBLookupCombo;
RxDBLookupCombo22: TRxDBLookupCombo;
Label51: TLabel;
wwDBComboBox59: TwwDBComboBox;
Label52: TLabel;
wwDBComboBox60: TwwDBComboBox;
Edit11: TEdit;
Label53: TLabel;
wwDBComboBox61: TwwDBComboBox;
Edit12: TEdit;
procedure bsSkinButton5Click(Sender: TObject);
procedure bsSkinButton10Click(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure bsSkinButton1Click(Sender: TObject);
procedure wwDBComboBox17KeyPress(Sender: TObject; var Key: Char);
private
procedure loadFindIni ;
procedure writeFindIni ;
{ Private declarations }
public
{ Public declarations }
str_seae,str_seae_pin,str_seai,str_seai_pin,str_aire
,str_aire_pin,str_airi,str_airi_pin,str_airtruck
,str_railway,str_sealocal
,str_opctn ,str_ttl //<2F><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD> <20><><EFBFBD>۲<EFBFBD> <20>ƹ㲿 <20><>˾<EFBFBD><CBBE>
,str_total,str_all,sqltext,constr:widestring;
procedure condition_1 ;
procedure condition_2_5 ;
procedure condition_12 ;
end;
var
frm_rp_query: Tfrm_rp_query;
rp_query_limited:string;
rp_query_bs:integer;
rp_query_bsType:integer;
implementation
uses my_sys_function, {$IFDEF YWTAIZHANG}u_rp_tai_total,{$ENDIF} u_rp_rp_total, u_rp_zou_total,
u_rp_fen_total, u_data_share{$IFDEF ZHYDTONGJI},u_rp_rp_monthtotal,
u_rp_pin_total{$ENDIF};
{$R *.dfm}
procedure Tfrm_rp_query.bsSkinButton5Click(Sender: TObject);
begin
close;
end;
procedure Tfrm_rp_query.bsSkinButton10Click(Sender: TObject);
begin
wwDBComboBox1.text:='';
wwDBComboBox2.text:='';
wwDBDateTimePicker1.Clear;
wwDBDateTimePicker2.Clear;
wwDBDateTimePicker3.Clear;
wwDBDateTimePicker4.Clear;
wwDBDateTimePicker5.Clear;
wwDBDateTimePicker6.Clear;
wwDBDateTimePicker9.Clear;
wwDBDateTimePicker10.Clear;
Edit1.text:='';
Edit9.text:='';
RxDBLookupCombo2.ClearValue;
RxDBLookupCombo19.ClearValue;
RxDBLookupCombo10.ClearValue;
RxDBLookupCombo6.ClearValue;
RxDBLookupCombo21.ClearValue;
RxDBLookupCombo18.ClearValue;
RxDBLookupCombo3.ClearValue;
RxDBLookupCombo12.ClearValue;
RxDBLookupCombo17.ClearValue;
RxDBLookupCombo4.ClearValue;
wwDBComboBox46.Text:='';
wwDBComboBox53.Text:='';
Edit2.text:='';
Edit4.text:='';
Edit3.text:='';
Edit5.text:='';
Edit6.text:='';
RxDBLookupCombo1.ClearValue;
wwDBLookupCombo49.text:='';
wwDBLookupCombo3.text:='';
wwDBLookupCombo52.text:='';
wwDBComboBox54.text:='';
Edit7.text:='';
RxDBLookupCombo5.ClearValue;
RxDBLookupCombo7.ClearValue;
RxDBLookupCombo9.ClearValue;
RxDBLookupCombo20.ClearValue;
RxDBLookupCombo8.ClearValue;
RxDBLookupCombo11.ClearValue;
RxDBLookupCombo13.ClearValue;
RxDBLookupCombo14.ClearValue;
RxDBLookupCombo15.ClearValue;
RxDBLookupCombo16.ClearValue;
Edit11.text:='';
Edit12.text:='';
end;
procedure Tfrm_rp_query.FormShow(Sender: TObject);
var bstype:string;
begin
loadFindIni;
wwDBComboBox17.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox18.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox6.text:='С<><D0A1>';
wwDBComboBox11.text:='С<><D0A1>';
wwDBComboBox19.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox21.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox24.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox25.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox58.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox59.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox48.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox7.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox28.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox29.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox14.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox3.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox38.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox45.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox47.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox15.text:='ģ<><C4A3>';
wwDBComboBox4.text:='ģ<><C4A3>';
wwDBComboBox5.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox9.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox12.text:='ģ<><C4A3>';
wwDBComboBox13.text:='ģ<><C4A3>';
wwDBComboBox16.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox35.text:='ģ<><C4A3>';
wwDBComboBox36.text:='ģ<><C4A3>';
wwDBComboBox39.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox40.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox41.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox55.text:='ģ<><C4A3>';
wwDBComboBox56.text:='ģ<><C4A3>';
wwDBComboBox20.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox22.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox23.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox26.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox27.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox30.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox31.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox32.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox33.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox49.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox52.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox34.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox37.text:='С<><D0A1>';
wwDBComboBox43.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox44.text:='С<><D0A1>';
wwDBComboBox50.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox51.text:='С<><D0A1>';
wwDBComboBox60.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox61.text:='<27><><EFBFBD><EFBFBD>';
case rp_query_bsType of
0:bstype:='<27><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>';
1:bstype:='<27><><EFBFBD>˽<EFBFBD><CBBD><EFBFBD>';
2:bstype:='<27><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>';
3:bstype:='<27><><EFBFBD>˽<EFBFBD><CBBD><EFBFBD>';
4:bstype:='<27><><EFBFBD>ܳ<EFBFBD>';
5:bstype:='<27><>·<EFBFBD><C2B7><EFBFBD><EFBFBD>'
else bstype:='<27><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>';
end;
frm_data_share.t_code_state.Filtered:=False;
frm_data_share.t_code_state.Filter:='ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = ''' +bstype+'''';
// t_sys_bank.Filter:='<27>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>='''+DBEdit30.text+'''';
frm_data_share.t_code_state.Filtered:=True;
wwDBComboBox1.Items.Clear;
frm_data_share.t_code_state.First;
while not frm_data_share.t_code_state.eof do
begin
if wwDBComboBox1.Items.IndexOf(Trim(frm_data_share.t_code_state.fieldbyname('ҵ<><D2B5>״̬').asstring))<=0 then
wwDBComboBox1.Items.Add(Trim(frm_data_share.t_code_state.fieldbyname('ҵ<><D2B5>״̬').asstring));
frm_data_share.t_code_state.next;
end;
wwDBComboBox1.Items.Add('ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
wwDBComboBox43.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox44.text:='С<><D0A1>';
wwDBComboBox50.text:='<27><><EFBFBD><EFBFBD>';
wwDBComboBox51.text:='С<><D0A1>';
frm_data_share.t_crm_client_all.requery;
frm_data_share.t_sys_employee.requery;
frm_data_share.t_sys_department.requery;
t_code_trade.Open;
end;
procedure Tfrm_rp_query.condition_1 ;
begin
str_total:='SELECT '+''''+'<27><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>'+''''+' as ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,count(<28><><EFBFBD><EFBFBD>) as Ʊ<><C6B1>,'
+'sum(Ӧ<><D3A6>USD) as Ӧ<><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>USD,'
+'sum(Ӧ<><D3A6>USD-<2D><><EFBFBD><EFBFBD>USD) AS δ<><CEB4>USD,sum(Ӧ<><D3A6>RMB) as Ӧ<><D3A6>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>RMB,sum(Ӧ<><D3A6>RMB-<2D><><EFBFBD><EFBFBD>RMB) AS δ<><CEB4>RMB,'
+'sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>) as <20>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,'
+'sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-<2D>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+'sum(Ӧ<><D3A6>USD) as Ӧ<><D3A6>USD,sum(<28>Ѹ<EFBFBD>USD) as <20>Ѹ<EFBFBD>USD,'
+'sum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<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'
+'sum(Ӧ<><D3A6>USD˰<44><CBB0>) as Ӧ<><D3A6>USD˰<44><CBB0>,sum(Ӧ<><D3A6>USD˰<44><CBB0>) as Ӧ<><D3A6>USD˰<44><CBB0>,'
+'sum(Ӧ<><D3A6>RMB˰<42><CBB0>) as Ӧ<><D3A6>RMB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<28><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>) as <20><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'sum(<28><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',(case when isnull(sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>),0)=0 then '+''''+'0'+''''+' else '
+'ltrim(str(sum(ë<><C3AB><EFBFBD><EFBFBD>)/sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>)*100,10,2))+'+''''+'%'+''''+' end) as <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' FROM t_op_gain where <20><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD>'
+' FROM t_op_seae '+str_seae+')'
+' union '
+'SELECT '+''''+'<27><><EFBFBD>˽<EFBFBD><CBBD><EFBFBD>'+''''+' as ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,count(<28><><EFBFBD><EFBFBD>) as Ʊ<><C6B1>,'
+'sum(Ӧ<><D3A6>USD) as Ӧ<><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>USD,'
+'sum(Ӧ<><D3A6>USD-<2D><><EFBFBD><EFBFBD>USD) AS δ<><CEB4>USD,sum(Ӧ<><D3A6>RMB) as Ӧ<><D3A6>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>RMB,sum(Ӧ<><D3A6>RMB-<2D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Ӧ<CBB0><D3A6>USD) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ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񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',(case when isnull(sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>),0)=0 then '+''''+'0'+''''+' else '
+'ltrim(str(sum(ë<><C3AB><EFBFBD><EFBFBD>)/sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>)*100,10,2))+'+''''+'%'+''''+' end) as <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' FROM t_op_gain where <20><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD>'
+' F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BD><D3A6>) as <20>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) as <20>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,'
+'sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-<2D>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,sum(<28><><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>USD,'
+'sum(<28><><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>RMB,sum(ë<><C3AB><EFBFBD><EFBFBD>) as ë<><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ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3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'sum(<28><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',(case when isnull(sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>),0)=0 then '+''''+'0'+''''+' else '
+'ltrim(str(sum(ë<><C3AB><EFBFBD><EFBFBD>)/sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>)*100,10,2))+'+''''+'%'+''''+' end) as <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' FROM t_op_gain where <20><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD>'
+' FROM t_op_aire '+str_aire+')'
+' union '
+'SELECT '+''''+'<27><><EFBFBD>˽<EFBFBD><CBBD><EFBFBD>'+''''+' as ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,count(<28><><EFBFBD><EFBFBD>) as Ʊ<><C6B1>,'
+'sum(Ӧ<><D3A6>USD) as Ӧ<><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>USD,'
+'sum(Ӧ<><D3A6>USD-<2D><><EFBFBD><EFBFBD>USD) AS δ<><CEB4>USD,sum(Ӧ<><D3A6>RMB) as Ӧ<><D3A6>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>RMB,sum(Ӧ<><D3A6>RMB-<2D><><EFBFBD><EFBFBD>RMB) AS δ<><CEB4>RMB,'
+'sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>) as <20>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,'
+'sum(<28>ϼ<EFBFBD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BD><CBB0><EFBFBD><EFBFBD>USD,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E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><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',(case when isnull(sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>),0)=0 then '+''''+'0'+''''+' else '
+'ltrim(str(sum(ë<><C3AB><EFBFBD><EFBFBD>)/sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>)*100,10,2))+'+''''+'%'+''''+' end) as <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' FROM t_op_gain where <20><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD>'
+' FROM t_op_airi '+str_airi+')'
+' union '
+'SELECT '+''''+'<27><><EFBFBD>ܳ<EFBFBD>'+''''+' as ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,count(<28><><EFBFBD><EFBFBD>) as Ʊ<><C6B1>,'
+'sum(Ӧ<><D3A6>USD) as Ӧ<><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD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><><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>USD,'
+'sum(<28><><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>RMB,sum(ë<><C3AB><EFBFBD><EFBFBD>) as ë<><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰ë<CBB0><C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BD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'sum(<28><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',(case when isnull(sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>),0)=0 then '+''''+'0'+''''+' else '
+'ltrim(str(sum(ë<><C3AB><EFBFBD><EFBFBD>)/sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>)*100,10,2))+'+''''+'%'+''''+' end) as <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' FROM t_op_gain where <20><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD>'
+' FROM t_op_airtruck '+str_airtruck+')'
+' union '
+'SELECT '+''''+'<27><>ó'+''''+' as ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,count(<28><><EFBFBD><EFBFBD>) as Ʊ<><C6B1>,'
+'sum(Ӧ<><D3A6>USD) as Ӧ<><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>USD,'
+'sum(Ӧ<><D3A6>USD-<2D><><EFBFBD><EFBFBD>USD) AS δ<><CEB4>USD,sum(Ӧ<><D3A6>RMB) as Ӧ<><D3A6>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>RMB,sum(Ӧ<><D3A6>RMB-<2D><><EFBFBD><EFBFBD>RMB) AS δ<><CEB4>RMB,'
+'sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>) as <20>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,'
+'sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-<2D>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+'sum(Ӧ<><D3A6>USD) as Ӧ<><D3A6>USD,sum(<28>Ѹ<EFBFBD>USD) as <20>Ѹ<EFBFBD>USD,'
+'sum(Ӧ<><D3A6>USD-<2D>Ѹ<EFBFBD>USD) AS δ<><CEB4>USD,sum(Ӧ<><D3A6>RMB) as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20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'
+'sum(Ӧ<><D3A6>USD˰<44><CBB0>) as Ӧ<><D3A6>USD˰<44><CBB0>,sum(Ӧ<><D3A6>USD˰<44><CBB0>) as Ӧ<><D3A6>USD˰<44><CBB0>,'
+'sum(Ӧ<><D3A6>RMB˰<42><CBB0>) as Ӧ<><D3A6>RMB˰<42><CBB0>,sum(Ӧ<><D3A6>RMB˰<42><CBB0>) as Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'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BFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>) as <20><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'sum(<28><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>) as <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',(case when isnull(sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>),0)=0 then '+''''+'0'+''''+' else '
+'ltrim(str(sum(ë<><C3AB><EFBFBD><EFBFBD>)/sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>)*100,10,2))+'+''''+'%'+''''+' end) as <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' FROM t_op_gain where <20><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD>'
+' FROM t_op_sealocal '+str_sealocal+')'
+' union '
+'SELECT '+''''+'<27><>·<EFBFBD><C2B7><EFBFBD><EFBFBD>'+''''+' as ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,count(<28><><EFBFBD><EFBFBD>) as Ʊ<><C6B1>,'
+'sum(Ӧ<><D3A6>USD) as Ӧ<><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>USD,'
+'sum(Ӧ<><D3A6>USD-<2D><><EFBFBD><EFBFBD>USD) AS δ<><CEB4>USD,sum(Ӧ<><D3A6>RMB) as Ӧ<><D3A6>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>RMB,sum(Ӧ<><D3A6>RMB-<2D><><EFBFBD><EFBFBD>RMB) AS δ<><CEB4>RMB,'
+'sum(<28>ϼ<EFBFBD>Ӧ<EFBFB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BFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB) as <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>) as <20><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,sum(<28><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>) as <20><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT) as <20><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,sum(<28><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT)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><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,sum(<28><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) as <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,sum(<28><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) as <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',(case when isnull(sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>),0)=0 then '+''''+'0'+''''+' else '
+'ltrim(str(sum(ë<><C3AB><EFBFBD><EFBFBD>)/sum(<28>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>)*100,10,2))+'+''''+'%'+''''+' end) as <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' FROM t_op_gain where <20><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD>'
+' FROM t_op_railway '+str_railway+')';
str_seae:='SELECT t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.ҵ<><D2B5>״̬,t_op_seae.<2E><><EFBFBD><EFBFBD>״̬,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD><E1B5A5>,t_op_seae.<2E><><EFBFBD><EFBFBD><E1B5A5>,t_op_seae.ί<>б<EFBFBD><D0B1><EFBFBD>,t_op_seae.װ<>˷<EFBFBD>ʽ,'
+'t_op_seae.ί<>е<EFBFBD>λ,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><>վ,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.Ԥ<><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.װ<><D7B0><EFBFBD><EFBFBD>,t_op_seae.ж<><D0B6><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD>ѷ<EFBFBD>ʽ,t_op_seae.Ŀ<>ĵ<EFBFBD>,t_op_seae.ǩ<><C7A9><EFBFBD><EFBFBD>ʽ,'
+'t_op_seae.¼<><C2BC><EFBFBD><EFBFBD>,t_op_seae.¼<><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>˾,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˾,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>Ա,t_op_seae.<2E>ͷ<EFBFBD>Ա,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD>۲<EFBFBD><DBB2><EFBFBD>,'
+'t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E>ջ<EFBFBD><D5BB><EFBFBD>,t_op_seae.֪ͨ<CDA8><D6AA>,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><>װ,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>,'
+'t_op_seae.<2E><><EFBFBD><EFBFBD>1,t_op_seae.<2E><><EFBFBD><EFBFBD>2,t_op_seae.<2E><><EFBFBD><EFBFBD>3,t_op_seae.<2E><><EFBFBD><EFBFBD>4,t_op_seae.<2E><><EFBFBD><EFBFBD>5,t_op_seae.<2E><><EFBFBD><EFBFBD>6,t_op_seae.<2E><><EFBFBD><EFBFBD>7,t_op_seae.<2E><><EFBFBD><EFBFBD>8,t_op_seae.<2E><><EFBFBD><EFBFBD>9,'
+'t_op_seae.<2E><><EFBFBD><EFBFBD>10,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><>TEU,t_op_seae.<2E>ϼ<EFBFBD>20,t_op_seae.<2E>ϼ<EFBFBD>40,t_op_seae.<2E>ϼ<EFBFBD>40H,t_op_seae.<2E>ϼ<EFBFBD>45,t_op_seae.<2E><><EFBFBD>ųɱ<C5B3>,t_op_seae.<2E><>װ<EFBFBD><D7B0>,'
+'t_op_seae.<2E>Ƿ<EFBFBD><C7B7>˲<EFBFBD>,t_op_seae.<2E><><EFBFBD>۶<EFBFBD><DBB6><EFBFBD>˵<EFBFBD><CBB5>,t_op_seae.ҵ<><D2B5><EFBFBD><EFBFBD>Դ,t_op_seae.<2E><>Դ<EFBFBD><D4B4>ϸ,t_op_seae.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><>Ӫ<EFBFBD><D3AA>λ,t_op_seae.<2E>˷<EFBFBD>Э<EFBFBD><D0AD><EFBFBD><EFBFBD>,'
+'t_op_seae.<2E>˷<EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʶ,t_op_seae.<2E><><EFBFBD>յ<EFBFBD><D5B5><EFBFBD>,dbo.F_Str_UsdRate(t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>) ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,v_fee_do_max.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB-t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E>Ѹ<EFBFBD>USD, (t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E>Ѹ<EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB- t_op_gain_main.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_seae left JOIN t_op_gain t_op_gain_main ON t_op_seae.<2E><><EFBFBD><EFBFBD> = t_op_gain_main.<2E><><EFBFBD><EFBFBD> ' //20120326
+' left JOIN v_fee_do_max ON t_op_seae.<2E><><EFBFBD><EFBFBD> = v_fee_do_max.<2E><><EFBFBD><EFBFBD> ' //20120326
+str_seae+' and 1=1'+default_sort(53,'t_op_seae','','desc');
str_seai:='SELECT t_op_seai.<2E><><EFBFBD><EFBFBD>,t_op_seai.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.ҵ<><D2B5>״̬,t_op_seai.<2E><><EFBFBD><EFBFBD>״̬,t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,t_op_seai.ί<>б<EFBFBD><D0B1><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD><E1B5A5>,t_op_seai.<2E><><EFBFBD><EFBFBD><E1B5A5>,t_op_seai.<2E><>ͬ<EFBFBD><CDAC>,'
+'t_op_seai.װ<>˷<EFBFBD>ʽ,t_op_seai.ί<>е<EFBFBD>λ,t_op_seai.<2E><><EFBFBD><EFBFBD>,t_op_seai.<2E><>վ,t_op_seai.<2E><><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.װ<><D7B0><EFBFBD><EFBFBD>,t_op_seai.ж<><D0B6><EFBFBD><EFBFBD>,t_op_seai.¼<><C2BC><EFBFBD><EFBFBD>,'
+'t_op_seai.¼<><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD>˾,t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˾,t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD>Ա,t_op_seai.<2E>ͷ<EFBFBD>Ա,'
+'t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD>۲<EFBFBD><DBB2><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.<2E>ջ<EFBFBD><D5BB><EFBFBD>,t_op_seai.֪ͨ<CDA8><D6AA>,'
+'t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD>,t_op_seai.<2E><>װ,t_op_seai.<2E><><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD>,t_op_seai.<2E><><EFBFBD><EFBFBD>1,t_op_seai.<2E><><EFBFBD><EFBFBD>2,t_op_seai.<2E><><EFBFBD><EFBFBD>3,t_op_seai.<2E><><EFBFBD><EFBFBD>4,t_op_seai.<2E><><EFBFBD><EFBFBD>5,'
+'t_op_seai.<2E><><EFBFBD><EFBFBD>6,t_op_seai.<2E><><EFBFBD><EFBFBD>7,t_op_seai.<2E><><EFBFBD><EFBFBD>8,t_op_seai.<2E><><EFBFBD><EFBFBD>9,t_op_seai.<2E><><EFBFBD><EFBFBD>10,t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seai.<2E><>TEU,t_op_seai.<2E>ϼ<EFBFBD>20,t_op_seai.<2E>ϼ<EFBFBD>40,t_op_seai.<2E>ϼ<EFBFBD>40H,t_op_seai.<2E>ϼ<EFBFBD>45,t_op_seai.<2E><><EFBFBD>ųɱ<C5B3>,t_op_seai.<2E><>װ<EFBFBD><D7B0>,'
+'t_op_seai.ҵ<><D2B5><EFBFBD><EFBFBD>Դ,t_op_seai.<2E><>Դ<EFBFBD><D4B4>ϸ,t_op_seai.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_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BFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E>ϼ<EFBFBD>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t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_seai left JOIN t_op_gain ON t_op_seai.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_seai+default_sort(54,'t_op_seai','','desc');
str_aire:='SELECT t_op_aire.<2E><><EFBFBD><EFBFBD>,t_op_aire.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_aire.ҵ<><D2B5>״̬,t_op_aire.<2E><><EFBFBD><EFBFBD>״̬,t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,t_op_aire.ί<>б<EFBFBD><D0B1><EFBFBD>,t_op_aire.<2E><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>,t_op_aire.<2E><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>,t_op_aire.ί<>е<EFBFBD>λ,'
+'t_op_aire.<2E><><EFBFBD><EFBFBD>,t_op_aire.һ<>̺<EFBFBD><CCBA><EFBFBD>,t_op_aire.һ<>̿<EFBFBD><CCBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_aire.ʼ<><CABC><EFBFBD><EFBFBD>,t_op_aire.Ŀ<>ĸ<EFBFBD>,t_op_aire.<2E><><EFBFBD>չ<EFBFBD>˾,t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_aire.¼<><C2BC><EFBFBD><EFBFBD>,t_op_aire.¼<><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_aire.<2E><><EFBFBD><EFBFBD>Ա,t_op_aire.<2E>ͷ<EFBFBD>Ա,t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_aire.<2E><><EFBFBD>۲<EFBFBD><DBB2><EFBFBD>,t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_aire.<2E>ջ<EFBFBD><D5BB><EFBFBD>,t_op_aire.֪ͨ<CDA8><D6AA>,'
+'t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_aire.<2E><><EFBFBD><EFBFBD>,t_op_aire.<2E>Ƽ<EFBFBD><C6BC><EFBFBD><EFBFBD><EFBFBD>,t_op_aire.ҵ<><D2B5><EFBFBD><EFBFBD>Դ,t_op_aire.<2E><>Դ<EFBFBD><D4B4>ϸ,t_op_aire.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.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><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_aire left JOIN t_op_gain ON t_op_aire.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_aire+default_sort(55,'t_op_aire','','desc');
str_airi:='SELECT t_op_airi.<2E><><EFBFBD><EFBFBD>,t_op_airi.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_airi.ҵ<><D2B5>״̬,t_op_airi.<2E><><EFBFBD><EFBFBD>״̬,t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,t_op_airi.ί<>б<EFBFBD><D0B1><EFBFBD>,t_op_airi.<2E><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>,t_op_airi.<2E><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>,t_op_airi.ί<>е<EFBFBD>λ,'
+'t_op_airi.<2E><><EFBFBD><EFBFBD>,t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_airi.ʼ<><CABC><EFBFBD><EFBFBD>,t_op_airi.Ŀ<>ĸ<EFBFBD>,t_op_airi.<2E><><EFBFBD>չ<EFBFBD>˾,t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_airi.¼<><C2BC><EFBFBD><EFBFBD>,t_op_airi.¼<><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_airi.<2E><><EFBFBD><EFBFBD>Ա,t_op_airi.<2E>ͷ<EFBFBD>Ա,t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_airi.<2E><><EFBFBD>۲<EFBFBD><DBB2><EFBFBD>,t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_airi.<2E>ջ<EFBFBD><D5BB><EFBFBD>,t_op_airi.֪ͨ<CDA8><D6AA>,'
+'t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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BFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.<2E><><EFBFBD><EFBFBD>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EF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BFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airi left JOIN t_op_gain ON t_op_airi.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airi+default_sort(56,'t_op_airi','','desc');
str_airtruck:='SELECT t_op_airtruck.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><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D><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airtruck left JOIN t_op_gain ON t_op_airtruck.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airtruck;
str_railway:='SELECT t_op_railway.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t_op_gain.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.<2E><><EFBFBD><EFBFBD>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E>ϼ<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<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_railway left JOIN t_op_gain ON t_op_railway.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_railway;
str_sealocal:='SELECT t_op_sealocal.ί<>е<EFBFBD>λ,t_op_sealocal.<2E><><EFBFBD><EFBFBD><E1B5A5>,t_op_sealocal.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_sealocal.<2E><><EFBFBD><EFBFBD>˾,t_op_sealocal.<2E><><EFBFBD><EFBFBD>,t_op_sealocal.<2E><><EFBFBD><EFBFBD>,t_op_sealocal.<2E><><EFBFBD>˵<EFBFBD>,t_op_sealocal.Ŀ<>ĵ<EFBFBD>'
+',sum(t_op_gain.Ӧ<><D3A6>USD) Ӧ<><D3A6>USD, sum(t_op_gain.<2E><><EFBFBD><EFBFBD>USD) <20><><EFBFBD><EFBFBD>USD,sum(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD) AS δ<><CEB4>USD'
+',sum(t_op_gain.Ӧ<><D3A6>RMB) Ӧ<><D3A6>RMB, sum(t_op_gain.<2E><><EFBFBD><EFBFBD>RMB) <20><><EFBFBD><EFBFBD>RMB,sum(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><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8B6><EFBFBD><EFBFBD>,'
+'sum(t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,sum(t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>) <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'sum(t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,sum(t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>) <20><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'sum(t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,sum(t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>) <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_sealocal left JOIN t_op_gain ON t_op_sealocal.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_sealocal
+'group by t_op_sealocal.ί<>е<EFBFBD>λ,t_op_sealocal.<2E><><EFBFBD><EFBFBD><E1B5A5>,t_op_sealocal.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_sealocal.<2E><><EFBFBD><EFBFBD>˾,t_op_sealocal.<2E><><EFBFBD><EFBFBD>,t_op_sealocal.<2E><><EFBFBD><EFBFBD>,t_op_sealocal.<2E><><EFBFBD>˵<EFBFBD>,t_op_sealocal.Ŀ<>ĵ<EFBFBD>';
//showmessage(str_sealocal);
end;
procedure Tfrm_rp_query.condition_2_5 ;
begin
str_seae:='SELECT t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.ҵ<><D2B5>״̬,t_op_seae.<2E><><EFBFBD><EFBFBD>״̬,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD><E1B5A5>,t_op_seae.<2E><><EFBFBD><EFBFBD><E1B5A5>,t_op_seae.ί<>б<EFBFBD><D0B1><EFBFBD>,t_op_seae.װ<>˷<EFBFBD>ʽ,'
+'t_op_seae.ί<>е<EFBFBD>λ,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><>վ,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.Ԥ<><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.װ<><D7B0><EFBFBD><EFBFBD>,t_op_seae.ж<><D0B6><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD>ѷ<EFBFBD>ʽ,t_op_seae.Ŀ<>ĵ<EFBFBD>,t_op_seae.ǩ<><C7A9><EFBFBD><EFBFBD>ʽ,'
+'t_op_seae.¼<><C2BC><EFBFBD><EFBFBD>,t_op_seae.¼<><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>˾,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˾,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>Ա,t_op_seae.<2E>ͷ<EFBFBD>Ա,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD>۲<EFBFBD><DBB2><EFBFBD>,'
+'t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E>ջ<EFBFBD><D5BB><EFBFBD>,t_op_seae.֪ͨ<CDA8><D6AA>,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><>װ,t_op_seae.<2E><><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD><EFBFBD>,'
+'t_op_seae.<2E><><EFBFBD><EFBFBD>1,t_op_seae.<2E><><EFBFBD><EFBFBD>2,t_op_seae.<2E><><EFBFBD><EFBFBD>3,t_op_seae.<2E><><EFBFBD><EFBFBD>4,t_op_seae.<2E><><EFBFBD><EFBFBD>5,t_op_seae.<2E><><EFBFBD><EFBFBD>6,t_op_seae.<2E><><EFBFBD><EFBFBD>7,t_op_seae.<2E><><EFBFBD><EFBFBD>8,t_op_seae.<2E><><EFBFBD><EFBFBD>9,'
+'t_op_seae.<2E><><EFBFBD><EFBFBD>10,t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><>TEU,t_op_seae.<2E>ϼ<EFBFBD>20,t_op_seae.<2E>ϼ<EFBFBD>40,t_op_seae.<2E>ϼ<EFBFBD>40H,t_op_seae.<2E>ϼ<EFBFBD>45,t_op_seae.<2E><><EFBFBD>ųɱ<C5B3>,t_op_seae.<2E><>װ<EFBFBD><D7B0>,'
+'t_op_seae.<2E>Ƿ<EFBFBD><C7B7>˲<EFBFBD>,t_op_seae.<2E><><EFBFBD>۶<EFBFBD><DBB6><EFBFBD>˵<EFBFBD><CBB5>,t_op_seae.ҵ<><D2B5><EFBFBD><EFBFBD>Դ,t_op_seae.<2E><>Դ<EFBFBD><D4B4>ϸ,t_op_seae.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,t_op_seae.<2E><>Ӫ<EFBFBD><D3AA>λ,t_op_seae.<2E>˷<EFBFBD>Э<EFBFBD><D0AD><EFBFBD><EFBFBD>,t_op_seae.<2E>˷<EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD>,t_op_seae.<2E><><EFBFBD>յ<EFBFBD><D5B5><EFBFBD>'
+', t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t_op_gain.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E>Ѹ<EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain.<2E><><EFBFBD><EFBFBD>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain.Ӧ<><D3A6>USD=0'
+' THEN 0 ELSE t_op_gain.<2E><><EFBFBD><EFBFBD>USD/t_op_gain.Ӧ<><D3A6>USD END)*100 as USD<53><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain.Ӧ<><D3A6>RMB=0'
+' THEN 0 ELSE t_op_gain.<2E><><EFBFBD><EFBFBD>RMB/t_op_gain.Ӧ<><D3A6>RMB END)*100 as RMB<4D><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD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Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_seae left JOIN t_op_gain ON t_op_seae.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_seae+default_sort(53,'t_op_seae','','desc');
//ShowMessage(str_seae);
str_seai:='SELECT t_op_seai.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t_op_gain.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E>Ѹ<EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain.<2E><><EFBFBD><EFBFBD>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain.Ӧ<><D3A6>USD=0'
+' THEN 0 ELSE t_op_gain.<2E><><EFBFBD><EFBFBD>USD/t_op_gain.Ӧ<><D3A6>USD END)*100 as USD<53><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain.Ӧ<><D3A6>RMB=0'
+' THEN 0 ELSE t_op_gain.<2E><><EFBFBD><EFBFBD>RMB/t_op_gain.Ӧ<><D3A6>RMB END)*100 as RMB<4D><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.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gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_seai left JOIN t_op_gain ON t_op_seai.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_seai+default_sort(54,'t_op_seai','','desc');
str_aire:='SELECT t_op_aire.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t_op_gain.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E>Ѹ<EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain.<2E><><EFBFBD><EFBFBD>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain.Ӧ<><D3A6>USD=0'
+' THEN 0 ELSE t_op_gain.<2E><><EFBFBD><EFBFBD>USD/t_op_gain.Ӧ<><D3A6>USD END)*100 as USD<53><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain.Ӧ<><D3A6>RMB=0'
+' THEN 0 ELSE t_op_gain.<2E><><EFBFBD><EFBFBD>RMB/t_op_gain.Ӧ<><D3A6>RMB END)*100 as RMB<4D><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><E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,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_aire left JOIN t_op_gain ON t_op_aire.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_aire+default_sort(55,'t_op_aire','','desc');
str_airi:='SELECT t_op_airi.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t_op_gain.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E>Ѹ<EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain.<2E><><EFBFBD><EFBFBD>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain.Ӧ<><D3A6>USD=0'
+' THEN 0 ELSE t_op_gain.<2E><><EFBFBD><EFBFBD>USD/t_op_gain.Ӧ<><D3A6>USD END)*100 as USD<53><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain.Ӧ<><D3A6>RMB=0'
+' THEN 0 ELSE t_op_gain.<2E><><EFBFBD><EFBFBD>RMB/t_op_gain.Ӧ<><D3A6>RMB END)*100 as RMB<4D><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><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CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airi left JOIN t_op_gain ON t_op_airi.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airi+default_sort(56,'t_op_airi','','desc');
str_airtruck:='SELECT t_op_airtruck.*, v_op_gain_main_airtruck.Ӧ<><D3A6>USD, v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>USD,(v_op_gain_main_airtruck.Ӧ<><D3A6>USD-v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,v_op_gain_main_airtruck.Ӧ<><D3A6>RMB, v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>RMB,(v_op_gain_main_airtruck.Ӧ<><D3A6>RMB-v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-v_op_gain_main_airtruck.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,v_op_gain_main_airtruck.Ӧ<><D3A6>USD, v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>USD, (v_op_gain_main_airtruck.Ӧ<><D3A6>USD-v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,v_op_gain_main_airtruck.Ӧ<><D3A6>RMB, v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>RMB,(v_op_gain_main_airtruck.Ӧ<><D3A6>RMB- v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-v_op_gain_main_airtruck.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' v_op_gain_main_airtruck.Ӧ<><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>OT,(v_op_gain_main_airtruck.Ӧ<><D3A6>OT-v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',v_op_gain_main_airtruck.Ӧ<><D3A6>OT,v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>OT,(v_op_gain_main_airtruck.Ӧ<><D3A6>OT-v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>OT,'
+' v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>USD, v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>RMB, v_op_gain_main_airtruck.ë<><C3AB><EFBFBD><EFBFBD>, '''' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN v_op_gain_main_airtruck.Ӧ<><D3A6>USD=0'
+' THEN 0 ELSE v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>USD/v_op_gain_main_airtruck.Ӧ<><D3A6>USD END)*100 as USD<53><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN v_op_gain_main_airtruck.Ӧ<><D3A6>RMB=0'
+' THEN 0 ELSE v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>RMB/v_op_gain_main_airtruck.Ӧ<><D3A6>RMB END)*100 as RMB<4D><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'''' <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'v_op_gain_main_airtruck.Ӧ<><D3A6>USD˰<44><CBB0>,v_op_gain_main_airtruck.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'v_op_gain_main_airtruck.Ӧ<><D3A6>RMB˰<42><CBB0>,v_op_gain_main_airtruck.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'''' <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airtruck left JOIN v_op_gain_main_airtruck ON t_op_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+str_airtruck+' order by t_op_airtruck.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
str_railway:='SELECT t_op_railway.*, t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB-t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E>Ѹ<EFBFBD>USD, (t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E>Ѹ<EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB- t_op_gain_main.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,t_op_gain_main.<2E>Ѹ<EFBFBD>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain_main.Ӧ<><D3A6>USD=0'
+' THEN 0 ELSE t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD/t_op_gain_main.Ӧ<><D3A6>USD END)*100 as USD<53><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,(CASE WHEN t_op_gain_main.Ӧ<><D3A6>RMB=0'
+' THEN 0 ELSE t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB/t_op_gain_main.Ӧ<><D3A6>RMB END)*100 as RMB<4D><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_railway left JOIN t_op_gain t_op_gain_main ON t_op_railway.<2E><><EFBFBD><EFBFBD> = t_op_gain_main.<2E><><EFBFBD><EFBFBD> '
+str_railway+' and t_op_railway.<2E><><EFBFBD><EFBFBD>=t_op_railway.<2E><><EFBFBD><EFBFBD> order by t_op_railway.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
// +str_railway+' and t_op_railway.<2E><><EFBFBD><EFBFBD>=t_op_railway.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> order by t_op_railway.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'; 20120330
end;
procedure Tfrm_rp_query.bsSkinButton1Click(Sender: TObject);
var
DBQueryThread1,DBQueryThread2,DBQueryThread3,DBQueryThread4,DBQueryThread5
,DBQueryThread6,DBQueryThread7:TDBQueryThread;
W: DWord;
H: THandle;
begin
{$IFDEF ZHYDTONGJI}
case rp_query_bs of
22:
begin
if frm_rp_rp_monthtotal.bsSkinCheckRadioBox2.Checked then begin
if wwDBDateTimePicker1.Text='' then begin
MessageDlg('ҵ<><D2B5><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD><EFBFBD>ֵ',mtWarning,[mbYes],0);
exit;
end;
if wwDBDateTimePicker2.Text='' then begin
MessageDlg('ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD><EFBFBD>ֵ',mtWarning,[mbYes],0);
exit;
end;
frm_rp_rp_monthtotal.wwDBDateTimePicker1.Date:=wwDBDateTimePicker1.date;
frm_rp_rp_monthtotal.wwDBDateTimePicker2.date:=wwDBDateTimePicker2.date;
end;
if frm_rp_rp_monthtotal.bsSkinCheckRadioBox1.Checked then begin
if wwDBDateTimePicker3.Text='' then begin
MessageDlg('<27><><EFBFBD>ƿ<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD><EFBFBD>ֵ',mtWarning,[mbYes],0);
exit;
end;
if wwDBDateTimePicker4.Text='' then begin
MessageDlg('<27><><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD><EFBFBD>ֵ',mtWarning,[mbYes],0);
exit;
end;
frm_rp_rp_monthtotal.wwDBDateTimePicker1.date:=wwDBDateTimePicker3.date;
frm_rp_rp_monthtotal.wwDBDateTimePicker2.date:=wwDBDateTimePicker4.date;
end;
end;
end;
{$ENDIF}
writeFindIni;
str_seae:=query_tiaojian(1,str_seae,'ҵ<><D2B5>״̬',wwDBComboBox17.text,wwDBComboBox1.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD>״̬',wwDBComboBox7.text,wwDBComboBox2.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>',wwDBComboBox19.text,wwDBDateTimePicker3.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>',wwDBComboBox11.text,wwDBDateTimePicker4.text);
str_seae:=query_tiaojian(1,str_seae,'ί<>е<EFBFBD>λ',wwDBComboBox21.text,RxDBLookupCombo2.DisplayValues[1]);
// str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD>ѷ<EFBFBD>ʽ',wwDBComboBox41.text,RxDBLookupCombo19.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'<27>ͷ<EFBFBD>Ա',wwDBComboBox24.text,RxDBLookupCombo4.DisplayValue);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox14.text,RxDBLookupCombo3.DisplayValue);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD>Ա',wwDBComboBox25.text,RxDBLookupCombo6.DisplayValue);
str_seae:=query_tiaojian(1,str_seae,'¼<><C2BC><EFBFBD><EFBFBD>',wwDBComboBox58.text,RxDBLookupCombo21.DisplayValue);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD>۲<EFBFBD><DBB2><EFBFBD>',wwDBComboBox28.text,RxDBLookupCombo10.DisplayValue);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox29.text,RxDBLookupCombo12.DisplayValue);
str_seae:=query_tiaojian(2,str_seae,'<27>ܴ<EFBFBD>',wwDBComboBox3.text,Edit1.text);
str_seae:=query_tiaojian(2,str_seae,'<27>ܴ<EFBFBD>',wwDBComboBox38.text,Edit9.text);
str_seae:=query_tiaojian(1,str_seae,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox45.text,wwDBComboBox46.text);
str_seae:=query_tiaojian(1,str_seae,'<27>ֲ<EFBFBD><D6B2><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox47.text,RxDBLookupCombo17.DisplayValue);
str_seae:=query_tiaojian(1,str_seae,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox15.text,Edit2.text);
str_seae:=query_tiaojian(1,str_seae,'ί<>б<EFBFBD><D0B1><EFBFBD>',wwDBComboBox4.text,Edit4.text);
str_seae:=query_tiaojian(1,str_seae,'װ<>˷<EFBFBD>ʽ',wwDBComboBox9.text,wwDBComboBox10.text);
str_seae:=query_tiaojian(1,str_seae,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox12.text,Edit3.text);
str_seae:=query_tiaojian(1,str_seae,'ί<>б<EFBFBD><D0B1><EFBFBD>',wwDBComboBox13.text,Edit5.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD>',wwDBComboBox16.text,RxDBLookupCombo1.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox34.text,wwDBDateTimePicker5.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD>÷<EFBFBD><C3B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox37.text,wwDBDateTimePicker6.text);
{
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox43.text,wwDBDateTimePicker7.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox44.text,wwDBDateTimePicker8.text);
}
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox26.text,RxDBLookupCombo8.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'<27>ջ<EFBFBD><D5BB><EFBFBD>',wwDBComboBox27.text,RxDBLookupCombo9.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'֪ͨ<CDA8><D6AA>',wwDBComboBox30.text,RxDBLookupCombo11.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'ҵ<><D2B5><EFBFBD><EFBFBD>Դ',wwDBComboBox31.text,RxDBLookupCombo16.DisplayValue);
str_seae:=query_tiaojian(1,str_seae,'<27><>Դ<EFBFBD><D4B4>ϸ',wwDBComboBox49.text,RxDBLookupCombo13.DisplayValue);
if rp_query_limited<>'no'then
begin
if trim(str_seae)='' then
begin
str_seai:='where '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','<27><><EFBFBD>ز<EFBFBD><D8B2><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
end
else
begin
str_seai:=str_seae+' and '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','<27><><EFBFBD>ز<EFBFBD><D8B2><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
end;
if trim(str_seae)='' then
begin
str_aire:='where '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','no','no');
end
else
begin
str_aire:=str_seae+' and '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','no','no');
end;
if trim(str_seae)='' then
begin
str_airi:='where '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','no','no');
end
else
begin
str_airi:=str_seae+' and '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','no','no');
end;
if trim(str_seae)='' then
begin
str_all:='where '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','<27><><EFBFBD>ز<EFBFBD><D8B2><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
end
else
begin
str_all:=str_seae+' and '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','<27><><EFBFBD>ز<EFBFBD><D8B2><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
end;
if trim(str_seae)='' then
begin
str_airtruck:='where t_op_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=t_op_airtruck.<2E><><EFBFBD><EFBFBD> and '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','no','no');
end
else
begin
str_airtruck:=str_seae+' and t_op_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=t_op_airtruck.<2E><><EFBFBD><EFBFBD> and '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','no','no');
end;
if trim(str_seae)='' then
begin
str_railway:='where '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','no','no');
end
else
begin
str_railway:=str_seae+' and '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','no','no');
end;
if trim(str_seae)='' then
begin
str_seae:='where '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','<27><><EFBFBD>ز<EFBFBD><D8B2><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
end
else
begin
str_seae:=str_seae+' and '+open_data(rp_query_limited,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>','<27><><EFBFBD><EFBFBD>Ա','<27>ͷ<EFBFBD>Ա','<27><><EFBFBD>ز<EFBFBD><D8B2><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
end;
str_seae:=query_tiaojian(1,str_seae,'<27>˷<EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD>',wwDBComboBox48.text,RxDBLookupCombo18.DisplayValue);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox39.text,Edit6.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox40.text,Edit8.text);
str_seae:=query_tiaojian(1,str_seae,'װ<><D7B0><EFBFBD><EFBFBD>',wwDBComboBox55.text,wwDBLookupCombo3.text);
str_seae:=query_tiaojian(1,str_seae,'ж<><D0B6><EFBFBD><EFBFBD>',wwDBComboBox56.text,wwDBLookupCombo52.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD><CBB4><EFBFBD>',wwDBComboBox57.text,Edit10.text);
str_seai:=query_tiaojian(1,str_seai,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox39.text,Edit6.text);
str_seai:=query_tiaojian(1,str_seai,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox40.text,Edit8.text);
str_seai:=query_tiaojian(1,str_seai,'<27><><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD><CBB4><EFBFBD>',wwDBComboBox57.text,Edit10.text);
str_aire:=query_tiaojian(1,str_aire,'<27><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>',wwDBComboBox39.text,Edit6.text);
str_aire:=query_tiaojian(1,str_aire,'<27><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>',wwDBComboBox40.text,Edit8.text);
str_aire:=query_tiaojian(1,str_aire,'<27><><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD><CBB4><EFBFBD>',wwDBComboBox57.text,Edit10.text);
str_airi:=query_tiaojian(1,str_airi,'<27><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>',wwDBComboBox39.text,Edit6.text);
str_airi:=query_tiaojian(1,str_airi,'<27><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>',wwDBComboBox40.text,Edit8.text);
str_airi:=query_tiaojian(1,str_airi,'<27><><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD><CBB4><EFBFBD>',wwDBComboBox57.text,Edit10.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox39.text,Edit6.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox40.text,Edit8.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'<27><><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD><CBB4><EFBFBD>',wwDBComboBox57.text,Edit10.text);
str_railway:=query_tiaojian(1,str_railway,'<27><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>',wwDBComboBox39.text,Edit6.text);
str_railway:=query_tiaojian(1,str_railway,'<27><><EFBFBD>˵<EFBFBD><CBB5><EFBFBD>',wwDBComboBox40.text,Edit8.text);
str_railway:=query_tiaojian(1,str_railway,'<27><><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD><CBB4><EFBFBD>',wwDBComboBox57.text,Edit10.text);
str_seai:=query_tiaojian(1,str_seai,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_seai:=query_tiaojian(1,str_seai,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_aire:=query_tiaojian(1,str_aire,'һ<>̿<EFBFBD><CCBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_aire:=query_tiaojian(1,str_aire,'һ<>̿<EFBFBD><CCBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_airi:=query_tiaojian(1,str_airi,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_airi:=query_tiaojian(1,str_airi,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_railway:=query_tiaojian(1,str_railway,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_railway:=query_tiaojian(1,str_railway,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_all:=query_tiaojian(1,str_all,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_all:=query_tiaojian(1,str_all,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_all:=query_tiaojian(1,str_all,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox5.text,wwDBComboBox8.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>',wwDBComboBox36.text,wwDBLookupCombo49.text);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>',wwDBComboBox20.text,RxDBLookupCombo20.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˾',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_seae:=query_tiaojian(3,str_seae,'t_op_seae.<2E>Ƿ<EFBFBD><C7B7>˲<EFBFBD>',wwDBComboBox52.text,wwDBComboBox53.text);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>',wwDBComboBox36.text,wwDBLookupCombo49.text);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>',wwDBComboBox20.text,RxDBLookupCombo20.DisplayValues[1]);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˾',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.һ<>̺<EFBFBD><CCBA><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.<2E><><EFBFBD>չ<EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.<2E><><EFBFBD><EFBFBD>',wwDBComboBox23.text,RxDBLookupCombo7.DisplayValues[1]);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.<2E><><EFBFBD>չ<EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.<2E><><EFBFBD>մ<EFBFBD><D5B4><EFBFBD>',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_airi:=query_tiaojian(1,str_airi,'t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_airi:=query_tiaojian(1,str_airi,'t_op_airi.<2E><><EFBFBD>չ<EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_airi:=query_tiaojian(1,str_airi,'t_op_airi.<2E><><EFBFBD>չ<EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_airi:=query_tiaojian(1,str_airi,'t_op_airi.ж<><D0B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.SA<53><41><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.BGS<47><53><EFBFBD>ܹ<EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.BGS<47><53><EFBFBD>ܹ<EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.BGS<47><53><EFBFBD>ܹ<EFBFBD>˾',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.<2E><><EFBFBD><EFBFBD>',wwDBComboBox23.text,RxDBLookupCombo7.DisplayValues[1]);
str_railway:=query_tiaojian(1,str_railway,'t_op_railway.<2E><><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_railway:=query_tiaojian(1,str_railway,'t_op_railway.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_railway:=query_tiaojian(1,str_railway,'<27>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox50.text,wwDBDateTimePicker9.text);
str_railway:=query_tiaojian(1,str_railway,'<27>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox51.text,wwDBDateTimePicker10.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox39.text,Edit6.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox40.text,Edit8.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD>',wwDBComboBox59.text,StringReplace(RxDBLookupCombo22.DisplayValue,'''','''''',[rfReplaceAll]));
str_sealocal:=query_tiaojian(1,str_sealocal,'ί<>е<EFBFBD>λ',wwDBComboBox21.text,RxDBLookupCombo2.DisplayValues[1]);
end
else
begin
str_seai:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_seai:=query_tiaojian(1,str_seai,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_aire:=query_tiaojian(1,str_seae,'һ<>̿<EFBFBD><CCBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_aire:=query_tiaojian(1,str_aire,'һ<>̿<EFBFBD><CCBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_airi:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_airi:=query_tiaojian(1,str_airi,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_airtruck:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_railway:=query_tiaojian(1,str_railway,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_railway:=query_tiaojian(1,str_railway,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_all:=query_tiaojian(1,str_seae,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_all:=query_tiaojian(1,str_all,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_all:=query_tiaojian(1,str_all,'ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox5.text,wwDBComboBox8.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_seae:=query_tiaojian(1,str_seae,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>',wwDBComboBox36.text,wwDBLookupCombo49.text);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>',wwDBComboBox20.text,RxDBLookupCombo20.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˾',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_seae:=query_tiaojian(1,str_seae,'<27>˷<EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD>',wwDBComboBox48.text,RxDBLookupCombo18.DisplayValue);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>',wwDBComboBox36.text,wwDBLookupCombo49.text);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>',wwDBComboBox20.text,RxDBLookupCombo20.DisplayValues[1]);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_seai:=query_tiaojian(1,str_seai,'t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˾',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.һ<>̺<EFBFBD><CCBA><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.<2E><><EFBFBD>չ<EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.<2E><><EFBFBD><EFBFBD>',wwDBComboBox23.text,RxDBLookupCombo7.DisplayValues[1]);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.<2E><><EFBFBD>չ<EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_aire:=query_tiaojian(1,str_aire,'t_op_aire.<2E><><EFBFBD>մ<EFBFBD><D5B4><EFBFBD>',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_airi:=query_tiaojian(1,str_airi,'t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_airi:=query_tiaojian(1,str_airi,'t_op_airi.<2E><><EFBFBD>չ<EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_airi:=query_tiaojian(1,str_airi,'t_op_airi.<2E><><EFBFBD>չ<EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_airi:=query_tiaojian(1,str_airi,'t_op_airi.ж<><D0B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.SA<53><41><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.BGS<47><53><EFBFBD>ܹ<EFBFBD>˾',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.BGS<47><53><EFBFBD>ܹ<EFBFBD>˾',wwDBComboBox32.text,RxDBLookupCombo14.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.BGS<47><53><EFBFBD>ܹ<EFBFBD>˾',wwDBComboBox33.text,RxDBLookupCombo15.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.<2E><><EFBFBD><EFBFBD>',wwDBComboBox23.text,RxDBLookupCombo7.DisplayValues[1]);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.<2E><>ϵ<EFBFBD><CFB5>',wwDBComboBox60.text,Edit11.text);
str_airtruck:=query_tiaojian(1,str_airtruck,'t_op_airtruck.HY˾<59><CBBE>',wwDBComboBox61.text,Edit12.text);
str_railway:=query_tiaojian(1,str_railway,'t_op_railway.<2E><><EFBFBD><EFBFBD>',wwDBComboBox35.text,Edit7.text);
str_railway:=query_tiaojian(1,str_railway,'t_op_railway.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox22.text,RxDBLookupCombo5.DisplayValues[1]);
str_railway:=query_tiaojian(1,str_railway,'<27>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox50.text,wwDBDateTimePicker9.text);
str_railway:=query_tiaojian(1,str_railway,'<27>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox51.text,wwDBDateTimePicker10.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox18.text,wwDBDateTimePicker1.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',wwDBComboBox6.text,wwDBDateTimePicker2.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox39.text,Edit6.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'<27><><EFBFBD><EFBFBD><E1B5A5>',wwDBComboBox40.text,Edit8.text);
str_sealocal:=query_tiaojian(1,str_sealocal,'ί<>е<EFBFBD>λ',wwDBComboBox21.text,RxDBLookupCombo2.DisplayValues[1]);
if str_seai='' then str_seai:=' where 1=1 ';
if str_seae='' then str_seae:=' where 1=1 ';
if str_aire='' then str_aire:=' where 1=1 ';
if str_airi='' then str_airi:=' where 1=1 ';
if str_airtruck='' then str_airtruck:=' where 1=1 ';
end;
if rp_query_bs=2 then
if wwDBComboBox42.text='<27><>' then
begin
if str_seae='' then
str_seae:=' where t_op_seae.<2E><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_ch_fee where <20>Ƿ<EFBFBD><C7B7>渶=1)'
else
str_seae:=str_seae+' and t_op_seae.<2E><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_ch_fee where <20>Ƿ<EFBFBD><C7B7>渶=1)';
if str_seai='' then
str_seai:=' where t_op_seai.<2E><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_ch_fee where <20>Ƿ<EFBFBD><C7B7>渶=1)'
else
str_seai:=str_seai+' and t_op_seai.<2E><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_ch_fee where <20>Ƿ<EFBFBD><C7B7>渶=1)';
end
else
if wwDBComboBox42.text='<27><>' then
begin
if str_seae='' then
str_seae:=' where t_op_seae.<2E><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_ch_fee where <20>Ƿ<EFBFBD><C7B7>渶=0 or <20>Ƿ<EFBFBD><C7B7>渶 is null )'
else
str_seae:=str_seae+' and t_op_seae.<2E><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_ch_fee where <20>Ƿ<EFBFBD><C7B7>渶=0 or <20>Ƿ<EFBFBD><C7B7>渶 is null )';
if str_seai='' then
str_seai:=' where t_op_seai.<2E><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_ch_fee where <20>Ƿ<EFBFBD><C7B7>渶=0 or <20>Ƿ<EFBFBD><C7B7>渶 is null )'
else
str_seai:=str_seai+' and t_op_seai.<2E><><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_ch_fee where <20>Ƿ<EFBFBD><C7B7>渶=0 or <20>Ƿ<EFBFBD><C7B7>渶 is null )';
end;
if trim(wwDBComboBox54.Text)<>'' then
begin
if str_seae='' then
begin
if wwDBComboBox54.Text='Ʊ<><C6B1>' then
str_seae:=' where t_op_seae.ί<>е<EFBFBD>λ not in (select <20>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD><EFBFBD> from t_crm_client_sales where <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> in (''Լ<><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'',''Լ<><D4BC>ʱ<EFBFBD><CAB1>''))'
else if wwDBComboBox54.Text='<27>½<EFBFBD>' then
str_seae:=' where t_op_seae.ί<>е<EFBFBD>λ in (select <20>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD><EFBFBD> from t_crm_client_sales where <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> in (''Լ<><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'',''Լ<><D4BC>ʱ<EFBFBD><CAB1>''))'
end
else
begin
if wwDBComboBox54.Text='Ʊ<><C6B1>' then
str_seae:=str_seae+' and t_op_seae.ί<>е<EFBFBD>λ not in (select <20>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD><EFBFBD> from t_crm_client_sales where <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> in (''Լ<><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'',''Լ<><D4BC>ʱ<EFBFBD><CAB1>''))'
else if wwDBComboBox54.Text='<27>½<EFBFBD>' then
str_seae:=str_seae+' and t_op_seae.ί<>е<EFBFBD>λ in (select <20>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD><EFBFBD> from t_crm_client_sales where <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> in (''Լ<><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'',''Լ<><D4BC>ʱ<EFBFBD><CAB1>''))'
end;
end;
if wwDBComboBox53.ItemIndex=1 then
begin
str_seai:=str_seai+' and 1=2 ';
str_aire:=str_aire+' and 1=2 ';
str_airi:=str_airi+' and 1=2 ';
str_airtruck:=str_airtruck+' and 1=2 ';
str_railway:=str_railway+' and 1=2 ';
end;
if (wwDBComboBox5.text<>'') and (wwDBComboBox8.text<>'') then begin
if wwDBComboBox5.text='<27><><EFBFBD><EFBFBD>' then begin
if wwDBComboBox8.text='<27><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>' then begin
str_seai:=str_seai+' and 1=2 ';
str_aire:=str_aire+' and 1=2 ';
str_airi:=str_airi+' and 1=2 ';
str_airtruck:=str_airtruck+' and 1=2 ';
str_railway:=str_railway+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><><EFBFBD>˽<EFBFBD><CBBD><EFBFBD>' then begin
str_seae:=str_seae+' and 1=2 ';
str_aire:=str_aire+' and 1=2 ';
str_airi:=str_airi+' and 1=2 ';
str_airtruck:=str_airtruck+' and 1=2 ';
str_railway:=str_railway+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>' then begin
str_seai:=str_seai+' and 1=2 ';
str_seae:=str_seae+' and 1=2 ';
str_airi:=str_airi+' and 1=2 ';
str_airtruck:=str_airtruck+' and 1=2 ';
str_railway:=str_railway+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><><EFBFBD>˽<EFBFBD><CBBD><EFBFBD>' then begin
str_seai:=str_seai+' and 1=2 ';
str_aire:=str_aire+' and 1=2 ';
str_seae:=str_seae+' and 1=2 ';
str_airtruck:=str_airtruck+' and 1=2 ';
str_railway:=str_railway+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><><EFBFBD>ܳ<EFBFBD>' then begin
str_seai:=str_seai+' and 1=2 ';
str_aire:=str_aire+' and 1=2 ';
str_airi:=str_airi+' and 1=2 ';
str_seae:=str_seae+' and 1=2 ';
str_railway:=str_railway+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><>·<EFBFBD><C2B7><EFBFBD><EFBFBD>' then begin
str_seai:=str_seai+' and 1=2 ';
str_aire:=str_aire+' and 1=2 ';
str_airi:=str_airi+' and 1=2 ';
str_seae:=str_seae+' and 1=2 ';
str_airtruck:=str_airtruck+' and 1=2 ';
end;
end;
if wwDBComboBox5.text='<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' then begin
if wwDBComboBox8.text='<27><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>' then begin
str_seae:=str_seae+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><><EFBFBD>˽<EFBFBD><CBBD><EFBFBD>' then begin
str_seai:=str_seai+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>' then begin
str_aire:=str_aire+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><><EFBFBD>˽<EFBFBD><CBBD><EFBFBD>' then begin
str_airi:=str_airi+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><><EFBFBD>ܳ<EFBFBD>' then begin
str_airtruck:=str_airtruck+' and 1=2 ';
end;
if wwDBComboBox8.text='<27><>·<EFBFBD><C2B7><EFBFBD><EFBFBD>' then begin
str_railway:=str_railway+' and 1=2 ';
end;
end;
end;
case rp_query_bs of
1:
begin
condition_1;
end;
2,5:
begin
condition_2_5;
end;
12:
begin
condition_12;
end;
22:
begin
str_seae:='SELECT t_op_seae.*, t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB-t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E>Ѹ<EFBFBD>USD, (t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E>Ѹ<EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB- t_op_gain_main.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT'
+',t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_seae left JOIN t_op_gain t_op_gain_main ON t_op_seae.<2E><><EFBFBD><EFBFBD> = t_op_gain_main.<2E><><EFBFBD><EFBFBD> '
+str_seae+' and t_op_seae.<2E><><EFBFBD><EFBFBD>=t_op_seae.<2E><><EFBFBD><EFBFBD>'+default_sort(53,'t_op_seae','','desc');
// +str_seae+' and t_op_seae.<2E><><EFBFBD><EFBFBD>=t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'+default_sort(53,'t_op_seae','','desc');
// ShowMessage(str_seae);
str_seai:='SELECT t_op_seai.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D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FBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_seai left JOIN t_op_gain ON t_op_seai.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_seai+default_sort(54,'t_op_seai','','desc');
str_aire:='SELECT t_op_aire.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3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>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_aire left JOIN t_op_gain ON t_op_aire.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_aire+default_sort(55,'t_op_aire','','desc');
str_airi:='SELECT t_op_airi.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_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_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',t_op_gain.<2E><><E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MB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airi left JOIN t_op_gain ON t_op_airi.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airi+default_sort(56,'t_op_airi','','desc');
str_airtruck:='SELECT t_op_airtruck.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t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B0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airtruck left JOIN t_op_gain ON t_op_airtruck.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airtruck;
str_railway:='SELECT t_op_railway.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD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2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_railway left JOIN t_op_gain ON t_op_railway.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_railway;
end;
end;
case rp_query_bs of
{$IFDEF YWTAIZHANG}
1:
begin
constr:=connect_string('main.ini');
frm_rp_tai_total.p_query_seae.ConnectionString:=constr;
DBQueryThread1:=TDBQueryThread.Create(frm_rp_tai_total.p_query_seae,str_seae,frm_rp_tai_total.p_query_seae1);
// showmessage(str_seae);
frm_rp_tai_total.p_query_seai.ConnectionString:=constr;
DBQueryThread2:=TDBQueryThread.Create(frm_rp_tai_total.p_query_seai,str_seai,frm_rp_tai_total.p_query_seai1);
frm_rp_tai_total.p_query_aire.ConnectionString:=constr;
DBQueryThread3:=TDBQueryThread.Create(frm_rp_tai_total.p_query_aire,str_aire,frm_rp_tai_total.p_query_aire1);
frm_rp_tai_total.p_query_airi.ConnectionString:=constr;
DBQueryThread4:=TDBQueryThread.Create(frm_rp_tai_total.p_query_airi,str_airi,frm_rp_tai_total.p_query_airi1);
frm_rp_tai_total.p_query_airtruck.ConnectionString:=constr;
DBQueryThread5:=TDBQueryThread.Create(frm_rp_tai_total.p_query_airtruck,str_airtruck,frm_rp_tai_total.p_query_airtruck1);
frm_rp_tai_total.p_query_railway.ConnectionString:=constr;
DBQueryThread6:=TDBQueryThread.Create(frm_rp_tai_total.p_query_railway,str_railway,frm_rp_tai_total.p_query_railway1);
frm_rp_tai_total.p_query_sealocal.ConnectionString:=constr;
DBQueryThread7:=TDBQueryThread.Create(frm_rp_tai_total.p_query_sealocal,str_sealocal,frm_rp_tai_total.p_query_sealocal1);
frm_rp_tai_total.p_query_total.close;
frm_rp_tai_total.p_query_total.Parameters.ParamByName('SQLStr').value:=str_total;
frm_rp_tai_total.p_query_total.Open;
// frm_rp_tai_total.p_query_total.ConnectionString:=constr;
// DBQueryThread6:=TDBQueryThread.Create(frm_rp_tai_total.p_query_total,str_total,frm_rp_tai_total.p_query_total1);
{
frm_rp_tai_total.p_query_seae.close;
frm_rp_tai_total.p_query_seae.Parameters.ParamByName('SQLStr').value:=str_seae;
frm_rp_tai_total.p_query_seae.Open;
frm_rp_tai_total.p_query_seai.close;
frm_rp_tai_total.p_query_seai.Parameters.ParamByName('SQLStr').value:=str_seai;
frm_rp_tai_total.p_query_seai.Open;
frm_rp_tai_total.p_query_aire.close;
frm_rp_tai_total.p_query_aire.Parameters.ParamByName('SQLStr').value:=str_aire;
frm_rp_tai_total.p_query_aire.Open;
frm_rp_tai_total.p_query_airi.close;
frm_rp_tai_total.p_query_airi.Parameters.ParamByName('SQLStr').value:=str_airi;
frm_rp_tai_total.p_query_airi.Open;
frm_rp_tai_total.p_query_airtruck.close;
frm_rp_tai_total.p_query_airtruck.Parameters.ParamByName('SQLStr').value:=str_airtruck;
frm_rp_tai_total.p_query_airtruck.Open;
frm_rp_tai_total.p_query_total.close;
frm_rp_tai_total.p_query_total.Parameters.ParamByName('SQLStr').value:=str_total;
frm_rp_tai_total.p_query_total.Open;
}
end;
{$ENDIF}
2:
begin
constr:=connect_string('main.ini');
frm_rp_rp_total.p_seae.ConnectionString:=constr;
DBQueryThread1:=TDBQueryThread.Create(frm_rp_rp_total.p_seae,str_seae,frm_rp_rp_total.p_seae1);
frm_rp_rp_total.p_seai.ConnectionString:=constr;
DBQueryThread2:=TDBQueryThread.Create(frm_rp_rp_total.p_seai,str_seai,frm_rp_rp_total.p_seai1);
// showmessage('1');
frm_rp_rp_total.p_aire.ConnectionString:=constr;
DBQueryThread3:=TDBQueryThread.Create(frm_rp_rp_total.p_aire,str_aire,frm_rp_rp_total.p_aire1);
frm_rp_rp_total.p_airi.ConnectionString:=constr;
DBQueryThread4:=TDBQueryThread.Create(frm_rp_rp_total.p_airi,str_airi,frm_rp_rp_total.p_airi1);
frm_rp_rp_total.p_airtruck.ConnectionString:=constr;
DBQueryThread5:=TDBQueryThread.Create(frm_rp_rp_total.p_airtruck,str_airtruck,frm_rp_rp_total.p_airtruck1);
frm_rp_rp_total.p_railway.ConnectionString:=constr;
DBQueryThread6:=TDBQueryThread.Create(frm_rp_rp_total.p_railway,str_railway,frm_rp_rp_total.p_railway1);
{
frm_rp_rp_total.p_seae.close;
frm_rp_rp_total.p_seae.Parameters.ParamByName('SQLStr').value:=str_seae;
frm_rp_rp_total.p_seae.Open;
}
{
repeat
H:=DBQueryThread1.handle;
W := MsgWaitForMultipleObjects(1, H, False, INFINITE, QS_ALLINPUT);
Application.ProcessMessages;
until (W = WAIT_OBJECT_0) or (W = WAIT_FAILED);
}
{
frm_rp_rp_total.p_seae.close;
frm_rp_rp_total.p_seae.Parameters.ParamByName('SQLStr').value:=str_seae;
frm_rp_rp_total.p_seae.Open;
frm_rp_rp_total.p_seai.close;
frm_rp_rp_total.p_seai.Parameters.ParamByName('SQLStr').value:=str_seai;
frm_rp_rp_total.p_seai.Open;
frm_rp_rp_total.p_aire.close;
frm_rp_rp_total.p_aire.Parameters.ParamByName('SQLStr').value:=str_aire;
frm_rp_rp_total.p_aire.Open;
frm_rp_rp_total.p_airi.close;
frm_rp_rp_total.p_airi.Parameters.ParamByName('SQLStr').value:=str_airi;
frm_rp_rp_total.p_airi.Open;
frm_rp_rp_total.p_airtruck.close;
frm_rp_rp_total.p_airtruck.Parameters.ParamByName('SQLStr').value:=str_airtruck;
frm_rp_rp_total.p_airtruck.Open;
}
end;
12:
begin
constr:=connect_string('main.ini');
frm_rp_pin_total.p_seae.ConnectionString:=constr;
DBQueryThread1:=TDBQueryThread.Create(frm_rp_pin_total.p_seae,str_seae,frm_rp_pin_total.p_seae1);
frm_rp_pin_total.p_seae_pin.ConnectionString:=constr;
DBQueryThread6:=TDBQueryThread.Create(frm_rp_pin_total.p_seae_pin,str_seae_pin,frm_rp_pin_total.p_seae_pin1);
frm_rp_pin_total.p_seai.ConnectionString:=constr;
DBQueryThread2:=TDBQueryThread.Create(frm_rp_pin_total.p_seai,str_seai,frm_rp_pin_total.p_seai1);
frm_rp_pin_total.p_seai_pin.ConnectionString:=constr;
DBQueryThread2:=TDBQueryThread.Create(frm_rp_pin_total.p_seai_pin,str_seai_pin,frm_rp_pin_total.p_seai_pin1);
frm_rp_pin_total.p_aire.ConnectionString:=constr;
DBQueryThread3:=TDBQueryThread.Create(frm_rp_pin_total.p_aire,str_aire,frm_rp_pin_total.p_aire1);
frm_rp_pin_total.p_aire_pin.ConnectionString:=constr;
DBQueryThread3:=TDBQueryThread.Create(frm_rp_pin_total.p_aire_pin,str_aire_pin,frm_rp_pin_total.p_aire_pin1);
frm_rp_pin_total.p_airi.ConnectionString:=constr;
DBQueryThread4:=TDBQueryThread.Create(frm_rp_pin_total.p_airi,str_airi,frm_rp_pin_total.p_airi1);
frm_rp_pin_total.p_airi_pin.ConnectionString:=constr;
DBQueryThread4:=TDBQueryThread.Create(frm_rp_pin_total.p_airi_pin,str_airi_pin,frm_rp_pin_total.p_airi_pin1);
frm_rp_pin_total.p_airtruck.ConnectionString:=constr;
DBQueryThread5:=TDBQueryThread.Create(frm_rp_pin_total.p_airtruck,str_airtruck,frm_rp_pin_total.p_airtruck1);
repeat
H:=DBQueryThread1.handle;
W := MsgWaitForMultipleObjects(1, H, False, INFINITE, QS_ALLINPUT);
Application.ProcessMessages;
until (W = WAIT_OBJECT_0) or (W = WAIT_FAILED);
end;
{$IFDEF ZHYDTONGJI}
22:
begin
constr:=connect_string('main.ini');
// frm_rp_rp_monthtotal.p_seae.ConnectionString:=constr;
// DBQueryThread1:=TDBQueryThread.Create(frm_rp_rp_monthtotal.p_seae,str_seae,frm_rp_rp_monthtotal.p_seae1);
frm_rp_rp_monthtotal.p_seai.ConnectionString:=constr;
DBQueryThread2:=TDBQueryThread.Create(frm_rp_rp_monthtotal.p_seai,str_seai,frm_rp_rp_monthtotal.p_seai1);
frm_rp_rp_monthtotal.p_aire.ConnectionString:=constr;
// showmessage(str_aire);
DBQueryThread3:=TDBQueryThread.Create(frm_rp_rp_monthtotal.p_aire,str_aire,frm_rp_rp_monthtotal.p_aire1);
frm_rp_rp_monthtotal.p_airi.ConnectionString:=constr;
DBQueryThread4:=TDBQueryThread.Create(frm_rp_rp_monthtotal.p_airi,str_airi,frm_rp_rp_monthtotal.p_airi1);
frm_rp_rp_monthtotal.p_airtruck.ConnectionString:=constr;
DBQueryThread5:=TDBQueryThread.Create(frm_rp_rp_monthtotal.p_airtruck,str_airtruck,frm_rp_rp_monthtotal.p_airtruck1);
frm_rp_rp_monthtotal.p_railway.ConnectionString:=constr;
DBQueryThread6:=TDBQueryThread.Create(frm_rp_rp_monthtotal.p_railway,str_railway,frm_rp_rp_monthtotal.p_railway1);
frm_rp_rp_monthtotal.p_seae.close;
frm_rp_rp_monthtotal.p_seae.Parameters.ParamByName('SQLStr').value:=str_seae;
frm_rp_rp_monthtotal.p_seae.Open;
{
repeat
H:=DBQueryThread1.handle;
W := MsgWaitForMultipleObjects(1, H, False, INFINITE, QS_ALLINPUT);
Application.ProcessMessages;
until (W = WAIT_OBJECT_0) or (W = WAIT_FAILED);
}
{
frm_rp_rp_monthtotal.p_seae.close;
frm_rp_rp_monthtotal.p_seae.Parameters.ParamByName('SQLStr').value:=str_seae;
frm_rp_rp_monthtotal.p_seae.Open;
frm_rp_rp_monthtotal.p_seai.close;
frm_rp_rp_monthtotal.p_seai.Parameters.ParamByName('SQLStr').value:=str_seai;
frm_rp_rp_monthtotal.p_seai.Open;
frm_rp_rp_monthtotal.p_aire.close;
frm_rp_rp_monthtotal.p_aire.Parameters.ParamByName('SQLStr').value:=str_aire;
frm_rp_rp_monthtotal.p_aire.Open;
frm_rp_rp_monthtotal.p_airi.close;
frm_rp_rp_monthtotal.p_airi.Parameters.ParamByName('SQLStr').value:=str_airi;
frm_rp_rp_monthtotal.p_airi.Open;
frm_rp_rp_monthtotal.p_airtruck.close;
frm_rp_rp_monthtotal.p_airtruck.Parameters.ParamByName('SQLStr').value:=str_airtruck;
frm_rp_rp_monthtotal.p_airtruck.Open;
}
end;
{$ENDIF}
3:
begin
frm_rp_zou_total.p_seae.close;
if frm_rp_zou_total.bsSkinCheckRadioBox2.checked then
begin
frm_rp_zou_total.p_seae.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_seae inner JOIN t_op_gain_main'
+' ON t_op_seae.<2E><><EFBFBD><EFBFBD> =t_op_gain_main.<2E><><EFBFBD><EFBFBD> '
+str_seae
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 111), 1, 7)';
end
else
begin
frm_rp_zou_total.p_seae.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_seae inner JOIN t_op_gain_main'
+' ON t_op_seae.<2E><><EFBFBD><EFBFBD> =t_op_gain_main.<2E><><EFBFBD><EFBFBD> '
+str_seae
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>, 111), 1, 7)';
end;
frm_rp_zou_total.p_seae.Open;
frm_rp_zou_total.p_seai.close;
if frm_rp_zou_total.bsSkinCheckRadioBox2.checked then
begin
frm_rp_zou_total.p_seai.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_seai left JOIN t_op_gain'
+' ON t_op_seai.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_seai
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 111), 1, 7)';
end
else
begin
frm_rp_zou_total.p_seai.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_seai left JOIN t_op_gain'
+' ON t_op_seai.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_seai
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>, 111), 1, 7)';
end;
frm_rp_zou_total.p_seai.Open;
frm_rp_zou_total.p_aire.close;
if frm_rp_zou_total.bsSkinCheckRadioBox2.checked then
begin
frm_rp_zou_total.p_aire.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_aire.һ<>̿<EFBFBD><CCBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_aire left JOIN t_op_gain'
+' ON t_op_aire.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_aire
+' GROUP BY SUBSTRING(CONVERT(char(15),һ<>̿<EFBFBD><CCBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),һ<>̿<EFBFBD><CCBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 111), 1, 7)';
end
else
begin
frm_rp_zou_total.p_aire.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_aire left JOIN t_op_gain'
+' ON t_op_aire.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_aire
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>, 111), 1, 7)';
end;
frm_rp_zou_total.p_aire.Open;
frm_rp_zou_total.p_airi.close;
if frm_rp_zou_total.bsSkinCheckRadioBox2.checked then
begin
frm_rp_zou_total.p_airi.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_airi left JOIN t_op_gain'
+' ON t_op_airi.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airi
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 111), 1, 7)';
end
else
begin
frm_rp_zou_total.p_airi.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_airi left JOIN t_op_gain'
+' ON t_op_airi.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airi
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>, 111), 1, 7)';
end;
frm_rp_zou_total.p_airi.Open;
frm_rp_zou_total.p_airtruck.close;
if frm_rp_zou_total.bsSkinCheckRadioBox2.checked then
begin
frm_rp_zou_total.p_airtruck.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_airtruck left JOIN t_op_gain'
+' ON t_op_airtruck.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airtruck
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 111), 1, 7)';
end
else
begin
frm_rp_zou_total.p_airtruck.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_airtruck left JOIN t_op_gain'
+' ON t_op_airtruck.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_airtruck
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>, 111), 1, 7)';
end;
frm_rp_zou_total.p_airtruck.Open;
frm_rp_zou_total.p_railway.close;
if frm_rp_zou_total.bsSkinCheckRadioBox2.checked then
begin
frm_rp_zou_total.p_railway.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_railway.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_railway left JOIN t_op_gain'
+' ON t_op_railway.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_railway
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 111), 1, 7)';
end
else
begin
frm_rp_zou_total.p_railway.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),t_op_railway.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM t_op_railway left JOIN t_op_gain'
+' ON t_op_railway.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_railway
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>, 111), 1, 7)';
end;
frm_rp_zou_total.p_railway.Open;
frm_rp_zou_total.p_total.close;
if frm_rp_zou_total.bsSkinCheckRadioBox2.checked then
begin
frm_rp_zou_total.p_total.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),v_op_no.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM v_op_no left JOIN t_op_gain'
+' ON v_op_no.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_all
+' GROUP BY SUBSTRING(CONVERT(char(15),ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 111), 1, 7)';
end
else
begin
frm_rp_zou_total.p_total.Parameters.ParamByName('SQLStr').value:=
'SELECT SUBSTRING(CONVERT(char(15),v_op_no.<2E><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7) AS <20>·<EFBFBD>,'
+'SUM(dbo.t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>) AS ë<><C3AB><EFBFBD><EFBFBD> FROM v_op_no left JOIN t_op_gain'
+' ON v_op_no.<2E><><EFBFBD><EFBFBD> =t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_all
+' GROUP BY SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>,111),1,7)'
+' order by SUBSTRING(CONVERT(char(15),<2C><><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>, 111), 1, 7)';
end;
frm_rp_zou_total.p_total.Open;
end;
4:
begin
fen_total_str:=str_all;
end;
{$IFDEF ZHYDTONGJI}
5:
begin
frm_rp_rp_monthtotal.p_seae.close;
frm_rp_rp_monthtotal.p_seae.Parameters.ParamByName('SQLStr').value:=str_seae;
frm_rp_rp_monthtotal.p_seae.Open;
frm_rp_rp_monthtotal.p_seai.close;
frm_rp_rp_monthtotal.p_seai.Parameters.ParamByName('SQLStr').value:=str_seai;
frm_rp_rp_monthtotal.p_seai.Open;
frm_rp_rp_monthtotal.p_aire.close;
frm_rp_rp_monthtotal.p_aire.Parameters.ParamByName('SQLStr').value:=str_aire;
frm_rp_rp_monthtotal.p_aire.Open;
frm_rp_rp_monthtotal.p_airi.close;
frm_rp_rp_monthtotal.p_airi.Parameters.ParamByName('SQLStr').value:=str_airi;
frm_rp_rp_monthtotal.p_airi.Open;
frm_rp_rp_monthtotal.p_airtruck.close;
frm_rp_rp_monthtotal.p_airtruck.Parameters.ParamByName('SQLStr').value:=str_airtruck;
frm_rp_rp_monthtotal.p_airtruck.Open;
end;
{$ENDIF}
end;
close;
end;
procedure Tfrm_rp_query.wwDBComboBox17KeyPress(Sender: TObject;
var Key: Char);
begin
if key=#13 then
begin
key:=#0;
frm_rp_query.bsSkinButton1Click(Sender);
end;
end;
procedure Tfrm_rp_query.loadFindIni;
var
findini:tinifile ;
mysec,tmpname:string;
canload:boolean ; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
i:integer ;
begin
mysec:=inttostr(rp_query_bs) ;
findini:=Tinifile.Create(ExtractFilePath(application.ExeName)+'rpquery.ini');
try
canload:=findini.ReadBool(mysec,mysec,false);
bsSkinCheckRadioBox1.Checked:=canload ;
if canload then
begin
with frm_rp_query do
for i:=0 to ControlCount-1 do
begin
tmpname:=Controls[i].Name ;
if Controls[i] is TwwDBComboBox then
(Controls[i] as TwwDBComboBox).Text:=findini.ReadString(mysec,TmpName,'')
else
if Controls[i] is TEdit then
(Controls[i] as TEdit).Text:=findini.ReadString(mysec,TmpName,'')
else
if Controls[i] is TwwDBDateTimePicker then
(Controls[i] as TwwDBDateTimePicker).Date:=strtodate(findini.ReadString(mysec,TmpName,''))
else
if Controls[i] is TRxDBLookupCombo then
(Controls[i] as TRxDBLookupCombo).Value:=findini.ReadString(mysec,TmpName,'')
else
if Controls[i] is TwwDBLookupCombo then
(Controls[i] as TwwDBLookupCombo).Value:=findini.ReadString(mysec,TmpName,'')
end ;
end else
begin
end ;
finally
findini.free;
end ;
end;
procedure Tfrm_rp_query.writeFindIni;
var
findini:tinifile ;
mysec,tmpname:string;
canload:boolean ; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
i:integer ;
begin
canload:=bsSkinCheckRadioBox1.Checked ;
mysec:=inttostr(rp_query_bs) ;
findini:=Tinifile.Create(ExtractFilePath(application.ExeName)+'rpquery.ini');
try
findini.WriteBool(mysec,mysec,canload);
if canload then
begin
with frm_rp_query do
for i:=0 to ControlCount-1 do
begin
tmpname:=Controls[i].Name ;
if Controls[i] is TwwDBComboBox then
findini.WriteString(mysec,TmpName,(Controls[i] as TwwDBComboBox).Text)
else
if Controls[i] is TEdit then
findini.WriteString(mysec,TmpName,(Controls[i] as TEdit).Text)
else
if Controls[i] is TwwDBDateTimePicker then
findini.WriteString(mysec,TmpName,datetostr((Controls[i] as TwwDBDateTimePicker).Date))
else
if Controls[i] is TRxDBLookupCombo then
findini.writeString(mysec,TmpName,(Controls[i] as TRxDBLookupCombo).Value)
else
if Controls[i] is TwwDBLookupCombo then
findini.writeString(mysec,TmpName,(Controls[i] as TwwDBLookupCombo).Value) ;
end ;
end ;
finally
findini.free;
end ;
end;
procedure Tfrm_rp_query.condition_12;
begin
str_seae_pin:=str_seae;
str_seai_pin:=str_seai;
str_aire_pin:=str_aire;
str_airi_pin:=str_airi;
str_seae:='SELECT t_op_seae.*, t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB-t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E>Ѹ<EFBFBD>USD, (t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E>Ѹ<EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB- t_op_gain_main.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,t_op_gain_main.<2E>Ѹ<EFBFBD>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0> '
+' FROM t_op_seae left JOIN t_op_gain t_op_gain_main ON t_op_seae.<2E><><EFBFBD><EFBFBD> = t_op_gain_main.<2E><><EFBFBD><EFBFBD> '
+str_seae+' and t_op_seae.<2E><><EFBFBD><EFBFBD>=t_op_seae.<2E><><EFBFBD><EFBFBD> '+default_sort(53,'t_op_seae','','desc');
// +str_seae+' and t_op_seae.<2E><><EFBFBD><EFBFBD>=t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '+default_sort(53,'t_op_seae','','desc'); 20120330
str_seae_pin:='SELECT t_op_seae.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<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_op_gain ON t_op_seae.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> where t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_op_seae '
+str_seae_pin+' and <20><><EFBFBD><EFBFBD>=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) and t_op_seae.<2E><><EFBFBD><EFBFBD><>t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> order by t_op_seae.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
str_seai:='SELECT t_op_seai.*, t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB-t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E>Ѹ<EFBFBD>USD, (t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E>Ѹ<EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB- t_op_gain_main.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain_main.Ӧ<><D3A6>OT-t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E>Ѹ<EFBFBD>OT,(t_op_gain_main.Ӧ<><D3A6>OT-t_op_gain_main.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_seai left JOIN t_op_gain t_op_gain_main ON t_op_seai.<2E><><EFBFBD><EFBFBD> = t_op_gain_main.<2E><><EFBFBD><EFBFBD> '
+str_seai+' and t_op_seai.<2E><><EFBFBD><EFBFBD>=t_op_seai.<2E><><EFBFBD><EFBFBD> '+default_sort(54,'t_op_seai','','desc');
// +str_seai+' and t_op_seai.<2E><><EFBFBD><EFBFBD>=t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '+default_sort(54,'t_op_seai','','desc'); 20120330
str_seai_pin:='SELECT t_op_seai.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t_op_gain.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain.<2E>ϼ<EFBF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FBD><D3A6>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_seai left JOIN t_op_gain ON t_op_seai.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> where t_op_seai.<2E><><EFBFBD><EFBFBD><>t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' and t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_op_seai '
+str_seai_pin+' and <20><><EFBFBD><EFBFBD>=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) order by t_op_seai.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
str_aire:='SELECT t_op_aire.*, t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB-t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E>Ѹ<EFBFBD>USD, (t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E>Ѹ<EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB- t_op_gain_main.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain_main.Ӧ<><D3A6>OT-t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E>Ѹ<EFBFBD>OT,(t_op_gain_main.Ӧ<><D3A6>OT-t_op_gain_main.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_aire left JOIN t_op_gain t_op_gain_main ON t_op_aire.<2E><><EFBFBD><EFBFBD> = t_op_gain_main.<2E><><EFBFBD><EFBFBD> '
+str_aire+' and t_op_aire.<2E><><EFBFBD><EFBFBD>=t_op_aire.<2E><><EFBFBD><EFBFBD> '+default_sort(55,'t_op_aire','','desc');
// +str_aire+' and t_op_aire.<2E><><EFBFBD><EFBFBD>=t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '+default_sort(55,'t_op_aire','','desc'); //20120330
str_aire_pin:='SELECT t_op_aire.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t_op_gain.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E>Ѹ<EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain.<2E><><EFBFBD><EFBFBD>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD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BD>,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_aire left JOIN t_op_gain ON t_op_aire.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> where t_op_aire.<2E><><EFBFBD><EFBFBD><>t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' and t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_op_aire '
+str_aire_pin+' and <20><><EFBFBD><EFBFBD>=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) order by t_op_aire.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
str_airi:='SELECT t_op_airi.*, t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB-t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain_main.Ӧ<><D3A6>USD, t_op_gain_main.<2E>Ѹ<EFBFBD>USD, (t_op_gain_main.Ӧ<><D3A6>USD-t_op_gain_main.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain_main.Ӧ<><D3A6>RMB, t_op_gain_main.<2E>Ѹ<EFBFBD>RMB,(t_op_gain_main.Ӧ<><D3A6>RMB- t_op_gain_main.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain_main.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain_main.Ӧ<><D3A6>OT-t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain_main.Ӧ<><D3A6>OT,t_op_gain_main.<2E>Ѹ<EFBFBD>OT,(t_op_gain_main.Ӧ<><D3A6>OT-t_op_gain_main.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain_main.<2E><><EFBFBD><EFBFBD>USD, t_op_gain_main.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain_main.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain_main.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain_main.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain_main.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain_main.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airi left JOIN t_op_gain t_op_gain_main ON t_op_airi.<2E><><EFBFBD><EFBFBD> = t_op_gain_main.<2E><><EFBFBD><EFBFBD> '
+str_airi+' and t_op_airi.<2E><><EFBFBD><EFBFBD>=t_op_airi.<2E><><EFBFBD><EFBFBD> '+default_sort(56,'t_op_airi','','desc');
// +str_airi+' and t_op_airi.<2E><><EFBFBD><EFBFBD>=t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '+default_sort(56,'t_op_airi','','desc'); //20120230
// showmessage(str_airi);
str_airi_pin:='SELECT t_op_airi.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E>Ѹ<EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB- t_op_gain.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',t_op_gain.Ӧ<><D3A6>OT,t_op_gain.<2E>Ѹ<EFBFBD>OT,(t_op_gain.Ӧ<><D3A6>OT-t_op_gain.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>OT,'
+' t_op_gain.<2E><><EFBFBD><EFBFBD>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB, t_op_gain.ë<><C3AB><EFBFBD><EFBFBD>, t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,t_op_gain.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,t_op_gain.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFB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FBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,t_op_gain.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airi left JOIN t_op_gain ON t_op_airi.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> where t_op_airi.<2E><><EFBFBD><EFBFBD><>t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+' and t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> in (select <20><><EFBFBD><EFBFBD> from t_op_airi '
+str_airi_pin+' and <20><><EFBFBD><EFBFBD>=<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) order by t_op_airi.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ';
// showmessage(str_airi_pin);
str_airtruck:='SELECT t_op_airtruck.*, v_op_gain_main_airtruck.<2E>Ʒ<EFBFBD><C6B7><EFBFBD>,v_op_gain_main_airtruck.Ӧ<><D3A6>USD, v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>USD,(v_op_gain_main_airtruck.Ӧ<><D3A6>USD-v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,v_op_gain_main_airtruck.Ӧ<><D3A6>RMB, v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>RMB,(v_op_gain_main_airtruck.Ӧ<><D3A6>RMB-v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-v_op_gain_main_airtruck.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,v_op_gain_main_airtruck.Ӧ<><D3A6>USD, v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>USD, (v_op_gain_main_airtruck.Ӧ<><D3A6>USD-v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>USD)'
+' AS δ<><CEB4>USD,v_op_gain_main_airtruck.Ӧ<><D3A6>RMB, v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>RMB,(v_op_gain_main_airtruck.Ӧ<><D3A6>RMB- v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>RMB)'
+' AS δ<><CEB4>RMB,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>,(v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-v_op_gain_main_airtruck.<2E>ϼ<EFBFBD><CFBC>Ѹ<EFBFBD>) AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,'
+' v_op_gain_main_airtruck.Ӧ<><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>OT,(v_op_gain_main_airtruck.Ӧ<><D3A6>OT-v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>OT) δ<><CEB4>OT'
+',v_op_gain_main_airtruck.Ӧ<><D3A6>OT,v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>OT,(v_op_gain_main_airtruck.Ӧ<><D3A6>OT-v_op_gain_main_airtruck.<2E>Ѹ<EFBFBD>OT) δ<><CEB4>OT,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>OT,'
+' v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>USD, v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>RMB, v_op_gain_main_airtruck.ë<><C3AB><EFBFBD><EFBFBD>,'''' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'
+'v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>USD,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>RMB,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰Ӧ<CBB0><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'''' <20><><EFBFBD><EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'v_op_gain_main_airtruck.Ӧ<><D3A6>USD˰<44><CBB0>,v_op_gain_main_airtruck.Ӧ<><D3A6>USD˰<44><CBB0>,'
+'v_op_gain_main_airtruck.Ӧ<><D3A6>RMB˰<42><CBB0>,v_op_gain_main_airtruck.Ӧ<><D3A6>RMB˰<42><CBB0>,'
+'v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,v_op_gain_main_airtruck.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+',v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>USD,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>USD,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>RMB,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>RMB,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰ë<CBB0><C3AB><EFBFBD><EFBFBD>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰Ӧ<CBB0><D3A6>OT,v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD>OT,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><EFBFBD><E6B8B6><EFBFBD><EFBFBD>,'''' <20><><EFBFBD>񲻺<EFBFBD>˰<EFBFBD><CBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>USD˰<44><CBB0>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6>RMB˰<42><CBB0>,'
+'v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>,v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_airtruck left JOIN v_op_gain_main_airtruck ON t_op_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = v_op_gain_main_airtruck.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> '
+str_airtruck+' order by t_op_airtruck.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
str_railway:='SELECT t_op_railway.*, t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E><><EFBFBD><EFBFBD>USD,(t_op_gain.Ӧ<><D3A6>USD-t_op_gain.<2E><><EFBFBD><EFBFBD>USD)'
+' AS δ<><CEB4>USD,t_op_gain.Ӧ<><D3A6>RMB, t_op_gain.<2E><><EFBFBD><EFBFBD>RMB,(t_op_gain.Ӧ<><D3A6>RMB-t_op_gain.<2E><><EFBFBD><EFBFBD>RMB)'
+' AS δ<><CEB4>RMB, t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>,t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>,(t_op_gain.<2E>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>-t_op_gain.<2E>ϼ<EFBFBD><CFBC><EFBFBD><EFBFBD><EFBFBD>)'
+' AS <20>ϼ<EFBFBD>δ<EFBFBD><CEB4>,t_op_gain.Ӧ<><D3A6>USD, t_op_gain.<2E>Ѹ<EFBFBD>USD, (t_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>,t_op_gain.<2E><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD>Ӧ<EFBFBD><D3A6>˰<EFBFBD><CBB0>'
+' FROM t_op_railway left JOIN t_op_gain ON t_op_railway.<2E><><EFBFBD><EFBFBD> = t_op_gain.<2E><><EFBFBD><EFBFBD> '
+str_railway+' order by t_op_railway.ҵ<><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
end;
end.