public int addPlant_Sum(String revWeek) {
PreparedStatement pstmt = null;
StringBuffer sql = new StringBuffer("");
int i = -1;
try {
sql.append
pstmt = con.prepareStatement(sql.toString()); pstmt.executeUpdate();
i= 1;
} catch (Exception e) {
MyUtil.printlnError("error orderGatherToIndustrialtrade_Sum ", e);
} finally {
DBUtil.closeStatement(pstmt);
}
return i; }
}
PreparedStatement pstmt = null;
StringBuffer sql = new StringBuffer("");
int i = -1;
try {
sql.append
pstmt = con.prepareStatement(sql.toString()); pstmt.executeUpdate();
i= 1;
} catch (Exception e) {
MyUtil.printlnError("error orderGatherToIndustrialtrade_Sum ", e);
} finally {
DBUtil.closeStatement(pstmt);
}
return i; }
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货