package com.changhong.epc.bean.tenant.master; import com.iemsoft.framework.cloud.core.tools.AbstractSelectCrosswise; import java.util.HashMap; import java.util.Map; import java.util.Objects; public class MasterValueList extends AbstractSelectCrosswise, Map> { private static final String ROW_NO = "rowNo"; @Override protected boolean isOneRow(Map last, Map thisObj) { return Objects.equals(last.get(ROW_NO), thisObj.get(ROW_NO)); } @Override protected Map newInstanceR() { return new HashMap<>(); } @Override protected void addRowData(Map row, Map obj) { row.put(Objects.toString(obj.get("eleCode")), obj.get("eleValue")); } }