|
|
@@ -441,8 +441,8 @@ public class OrderItems extends Controller {
|
|
|
row.put("attinfos", attinfoRowsMap.getOrDefault(row.getString("itemid"), new Rows()));
|
|
|
row.put("tradefield", tradefieldRowsMap.getOrDefault(row.getString("itemid"), new Rows()));
|
|
|
row.put("brand", brandRowsMap.getOrDefault(row.getString("itemid"), new Rows()));
|
|
|
- if( itemPriceRowsMap.containsKey(row.getString("itemid"))){
|
|
|
- row.put("price", itemPriceRowsMap.get(row.getString("itemid")).getPrice());
|
|
|
+ if( itemPriceRowsMap.containsKey(row.getLong("itemid"))){
|
|
|
+ row.put("price", itemPriceRowsMap.get(row.getLong("itemid")).getPrice());
|
|
|
}else {
|
|
|
row.put("price", 0);
|
|
|
}
|