*/
protected void createChangeLog(Collection<ChangeLog> changeLogs,
String entityName, Integer recordID, String columnName,
String oldValue, String newValue, User loginUser) {
if (!oldValue.equals(newValue)) {
ChangeLog changeLog = new ChangeLog();
changeLog.setEntityName(entityName);
changeLog.setRecordID(recordID);
changeLog.setColumnName(columnName);
changeLog.setOldValue(oldValue);
changeLog.setNewValue(newValue);
changeLog.setUpdated_by(loginUser);
changeLog.setUpdated_on(new Date());
changeLogs.add(changeLog);
}
}