Add files via upload

This commit is contained in:
gopi17701 2018-07-24 17:09:05 -04:00 committed by GitHub
parent a44d5d350a
commit e3d1ffac3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,9 +120,9 @@ public class SqlDAO extends DAO {
updateClause = updateClause + " contract_num = '" + contractNum + "',";
updateClause = updateClause + " PO_Date = STR_TO_DATE(" + PODate + ", '%Y-%m-%d')" + ",";
updateClause = updateClause + " contract_amt = " + contractAmt;
updateClause = updateClause + " contract_amt = " + contractAmt+ ",";
updateClause = updateClause + " astute_project_num = '" + astuteProjectNumber +"'";
sql = sql + whereClause;
sql = sql+ updateClause + whereClause;
System.out.println(sql);
Statement stmt = conn.createStatement();
stmt.executeUpdate(sql);