Skip to content

Instantly share code, notes, and snippets.

@nyilmaz
Created June 5, 2014 18:18
Show Gist options
  • Save nyilmaz/dadb9c4c3eb7cde80e86 to your computer and use it in GitHub Desktop.
Save nyilmaz/dadb9c4c3eb7cde80e86 to your computer and use it in GitHub Desktop.
if(processEnum.equals(ProcessEnum.CC)){
price = rs.getDouble("price");
Bname = rs.getString("Bname");
java.sql.Date invoiceDate = rs.getDate("invoicedate");
if (null == invoiceDate) {
log.error("\r\n\r\nERROR! InvoiceDate is null for orderid=" + rs.getLong("orderid"));
}
bean.setDATE(DATE_FORMAT.format(invoiceDate));
if (forIstanbul != null && forIstanbul) {
dataReference = period.getAccount() + (dataRefoffset++);
} else {
dataReference = dataRefoffset++;
}
}else if(processEnum.equals(ProcessEnum.TRANSFER)){
price = rs.getDouble("receivedamount");
Bname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment