|
|
@ -182,7 +182,7 @@ public class ItemTemplate { |
|
|
|
for (Object entry : offering_data) { |
|
|
|
for (Object entry : offering_data) { |
|
|
|
JSONObject offering_entry = (JSONObject) entry; |
|
|
|
JSONObject offering_entry = (JSONObject) entry; |
|
|
|
String offering_type = ((String) offering_entry.get("offering_type")).replaceAll("-", ""); |
|
|
|
String offering_type = ((String) offering_entry.get("offering_type")).replaceAll("-", ""); |
|
|
|
int offering_value = ((Double) offering_entry.get("offering_value")).intValue(); |
|
|
|
int offering_value = ((Long) offering_entry.get("offering_value")).intValue(); |
|
|
|
item_offering_info.put(offering_type, offering_value); |
|
|
|
item_offering_info.put(offering_type, offering_value); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|