|
@@ -514,7 +514,7 @@ public class Item extends Controller {
|
|
|
RowsMap itemclassRowsMap = ItemClass.getAllItemClassRowsMap(this, ids);
|
|
|
for (Row row : rows) {
|
|
|
if (attRowsMapCover.getOrDefault(row.getString("itemid"), new Rows()).isNotEmpty()) {
|
|
|
- row.put("attinfos", attRowsMapCover);
|
|
|
+ row.put("attinfos", attRowsMapCover.getOrDefault(row.getString("itemid"), new Rows()));
|
|
|
} else if (attRowsMap.getOrDefault(row.getString("itemid"), new Rows()).isNotEmpty()) {
|
|
|
row.put("attinfos", attRowsMap.getOrDefault(row.getString("itemid"), new Rows()));
|
|
|
} else {
|