package inv;
public class pro {
int sx,number;
int[] year=new int[500];
int[] month=new int[500];
String[] v=new String[500];
String code[]=new String[26];
String code_bus[]=new String[26];
String code_p[]=new String[26];
int s;
public static void main(String[] args) {
pro t=new pro();
}
pro(){
String db,tab;
db="thr";
tab="thr";
String c1;
code_bus[17]="TF00000I";
code_bus[18]="TI00000I";
code_bus[19]="TJ00000I";
code_bus[20]="TK00000I";
code_bus[21]="TH00000I";
code_bus[22]="TG00000I";
select_thr sub=new select_thr();
sub.makedata(db,tab,code_bus[22]);
number=sub.number;
v=sub.v;
year=sub.year;
month=sub.month;
for(s=1;s<number+1;s++){
System.out.println(year[s]+"年"+month[s]+"月,"+v[s]);
}
db="iip";
tab="iip";
code_bus[2]="2B00000000";
code_bus[3]="2Ao0000000";
code_bus[4]="2AN0000000";
code_bus[5]="2AM0000000";
code_bus[6]="2AJ0000000";
code_bus[7]="2AK0000000";
code_bus[8]="2AI0000000";
code_bus[9]="2AA0000000";
code_bus[10]="2AC0000000";
code_bus[11]="2AD0000000";
code_bus[12]="2AF0000000";
code_bus[13]="2AH0000000";
code_bus[14]="3000000417";
code_bus[15]="2AP0000000";
select_iip sub2=new select_iip();
sub2.makedata(db,tab,code_bus[10]);
number=sub2.number;
v=sub2.v;
year=sub2.year;
month=sub2.month;
for(s=1;s<number+1;s++){
System.out.println(year[s]+"年"+month[s]+"月,"+v[s]);
}
db="sp";
tab="sp";
code_p[19]="b2";
code_p[20]="b5";
code_p[21]="b7";
code_p[22]="b14";
code_p[23]="b24";
select_sp sub3=new select_sp();
sub3.makedata(db,tab,code_p[21]);
number=sub3.number;
v=sub3.v;
year=sub3.year;
month=sub3.month;
db="bp";
tab="bp";
code_p[2]="b24";
code_p[3]="b3";
code_p[4]="b4";
code_p[5]="b6";
code_p[6]="b7";
code_p[7]="b8";
code_p[8]="b10";
code_p[9]="b11";
code_p[10]="b13";
code_p[11]="b14";
code_p[12]="b18";
code_p[13]="b20";
code_p[14]="";
code_p[15]="b21";
code_p[17]="b26";
select_bp sub4=new select_bp();
sub4.makedata(db,tab,code_p[2]);
number=sub4.number;
v=sub4.v;
year=sub4.year;
month=sub4.month;
for(s=1;s<number+1;s++){
System.out.println("bb"+year[s]+"年"+month[s]+"月,"+v[s]);
}
db="bus";
tab="bus";
code[1]="b2";
code[2]="b3";
for(s=3;s<26;s++){
code[s]="b"+(s+2);
}
select_gdp sub5=new select_gdp();
sub5.makedata(db,tab,code[5],"c1");
number=sub5.number;
v=sub5.v;
year=sub5.year;
for(s=1;s<number+1;s++){
System.out.println(year[s]+","+v[s]);
}
}
int numx(String str){
int nx;
nx=0;
try{
nx=Integer.parseInt(str);
}catch (Exception e) {}
return nx;
}
double num(String str){
double nx;
nx=0;
try{
nx=Double.parseDouble(str);
}catch (Exception e) {}
return nx;
}
}
最終更新:2015年08月13日 01:38