|
|
@@ -193,10 +193,10 @@ public class itemgroup extends Controller {
|
|
|
BigDecimal max = new BigDecimal(0);
|
|
|
BigDecimal min = ((ItemPrice) ItemPriceList.values().toArray()[0]).getPrice();
|
|
|
for (ItemPrice itemPrice : ItemPriceList.values()) {
|
|
|
- if (itemPrice.getMarketprice().compareTo(max) == 1) {
|
|
|
+ if (itemPrice.getPrice().compareTo(max) == 1) {
|
|
|
max = itemPrice.getPrice();
|
|
|
}
|
|
|
- if (itemPrice.getMarketprice().compareTo(min) == -1) {
|
|
|
+ if (itemPrice.getPrice().compareTo(min) == -1) {
|
|
|
min = itemPrice.getPrice();
|
|
|
}
|
|
|
}
|