|
|
@@ -148,6 +148,7 @@ public class ProductionresourceServiceImpl extends SuperCacheServiceImpl<Product
|
|
|
map.put("gatherSql",gatherSql);
|
|
|
}
|
|
|
|
|
|
+ getQueryMap(map);
|
|
|
List<Map>list = productionresourceviewMapper.getList(map);
|
|
|
//设置字典表
|
|
|
setDesc(list);
|
|
|
@@ -163,6 +164,19 @@ public class ProductionresourceServiceImpl extends SuperCacheServiceImpl<Product
|
|
|
return retMap;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ private Map getQueryMap(Map map){
|
|
|
+ Map modelMap = map.get("model")==null?null:(Map)map.get("model");
|
|
|
+ if(modelMap!=null){
|
|
|
+ for(Object key:modelMap.keySet()){
|
|
|
+ map.put(key.toString(),modelMap.get(key));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return map;
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 生产资源按图标分类
|
|
|
* @param map
|