|
|
@@ -102,8 +102,12 @@ public class promotion extends Controller {
|
|
|
ArrayList ids = rows.toArrayList("itemid", new ArrayList<>());
|
|
|
// 附件
|
|
|
RowsMap attRowsMap = getAttachmentUrl("plm_item", ids);
|
|
|
+ //商品领域
|
|
|
+ RowsMap tradefieldRowsMap = beans.Item.Item.getTradefieldRowsMap(this, ids);
|
|
|
+
|
|
|
for (Row row : rows) {
|
|
|
row.put("attinfos", attRowsMap.getOrDefault(row.getString("itemid"), new Rows()));
|
|
|
+ row.put("tradefield", tradefieldRowsMap.getOrDefault(row.getString("itemid"), new Rows()));
|
|
|
}
|
|
|
|
|
|
return getSucReturnObject().setData(rows).toString();
|