Update release rating data type

pagination
Lasantha Dharmakeerthi 2 months ago
commit dec953b638

@ -22,7 +22,7 @@ package io.entgra.device.mgt.core.application.mgt.common;
public class ReleaseVersionInfo { public class ReleaseVersionInfo {
private String version; private String version;
private String releaseType; private String releaseType;
private String rating; private double rating;
private String state; private String state;
private String uuid; private String uuid;
@ -38,11 +38,11 @@ public class ReleaseVersionInfo {
return releaseType; return releaseType;
} }
public String getRating() { public double getRating() {
return rating; return rating;
} }
public void setRating(String rating) { public void setRating(double rating) {
this.rating = rating; this.rating = rating;
} }

@ -2075,7 +2075,7 @@ public class GenericApplicationDAOImpl extends AbstractDAOImpl implements Applic
releaseVersionInfo = new ReleaseVersionInfo(); releaseVersionInfo = new ReleaseVersionInfo();
releaseVersionInfo.setVersion(resultSet.getString("VERSION")); releaseVersionInfo.setVersion(resultSet.getString("VERSION"));
releaseVersionInfo.setReleaseType(resultSet.getString("RELEASE_TYPE")); releaseVersionInfo.setReleaseType(resultSet.getString("RELEASE_TYPE"));
releaseVersionInfo.setRating(resultSet.getString("RATING")); releaseVersionInfo.setRating(resultSet.getDouble("RATING"));
releaseVersionInfo.setState(resultSet.getString("CURRENT_STATE")); releaseVersionInfo.setState(resultSet.getString("CURRENT_STATE"));
releaseVersionInfo.setUuid(resultSet.getString("UUID")); releaseVersionInfo.setUuid(resultSet.getString("UUID"));
releaseVersionInfos.add(releaseVersionInfo); releaseVersionInfos.add(releaseVersionInfo);

Loading…
Cancel
Save