Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,6 @@ public class RMNCHBeneficiaryDetailsRmnch {
@Column(name = "longitude")
private BigDecimal longitude;

@Column(name = "gpsLatitude")
private Double gpsLatitude;

@Column(name = "gpsLongitude")
private Double gpsLongitude;

@Expose
@Column(name = "digipin")
private String digipin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class DiagnosticOrder {
@Column(name = "error_message", columnDefinition = "TEXT")
private String errorMessage;

@Column(name = "reason_for_refusal", columnDefinition = "TEXT")
@Column(name = "reason_to_close", columnDefinition = "TEXT")
private String reasonForRefusal;

@Column(name = "push_response_json", columnDefinition = "LONGTEXT")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,6 @@ private String getMappingsForAddressIDs(List<RMNCHMBeneficiaryaddress> addressLi
if (benAddressOBJ.getPermPinCode() != null)
benDetailsRMNCH_OBJ.setPinCode(benAddressOBJ.getPermPinCode());

// Map GPS double fields to the exposed latitude/longitude BigDecimal fields for response
if (benDetailsRMNCH_OBJ.getGpsLatitude() != null)
benDetailsRMNCH_OBJ.setLatitude(BigDecimal.valueOf(benDetailsRMNCH_OBJ.getGpsLatitude()));
if (benDetailsRMNCH_OBJ.getGpsLongitude() != null)
benDetailsRMNCH_OBJ.setLongitude(BigDecimal.valueOf(benDetailsRMNCH_OBJ.getGpsLongitude()));

// -----------------------------------------------------------------------------

// related benids
Expand Down
Loading