你试试写成这样看:
if(sbno.equals("0801") ){
System.out.println(sbno);
stmt1=dbcon.createStatement();
sql="update tb_disp_d9408 set prb1 = "+prbl+" where line="+line ;
stmt1.executeUpdate(sql);
System.out.println(line);
stmtl=null;
}
if(sbno.equals("0801") ){
System.out.println(sbno);
stmt1=dbcon.createStatement();
sql="update tb_disp_d9408 set prb1 = "+prbl+" where line="+line ;
stmt1.executeUpdate(sql);
System.out.println(line);
stmtl=null;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货