1.修改美际工具类commonService使用方式
| | |
| | | mjData.put("name", json.getString("name")); |
| | | mjData.put("degree", json.getString("degree")); |
| | | //获取二级分类程度数据 |
| | | mjData.put("typeDegreeData", MeiJiDataTool.getTypeDegreeData(mjData.get("contents").toString(), degreeMap)); |
| | | mjData.put("typeDegreeData", MeiJiDataTool.getTypeDegreeData(commonService, mjData.get("contents").toString(), degreeMap)); |
| | | mjData.remove("contents"); |
| | | |
| | | //查询对应关联资源文件记录 |
| | |
| | | Map<String, List<MjDataVo>> mjDataVoMap = null; |
| | | List<MjDataVo> mjDataVoList = null; |
| | | //获取模板分类数据(适应症,分类) |
| | | Map<String, List<String>> relationMap = MeiJiDataTool.getRelationMap(); |
| | | Map<String, List<String>> relationMap = MeiJiDataTool.getRelationMap(commonService); |
| | | //封装结构 |
| | | for (List<String> value : relationMap.values()) { |
| | | //list是有顺序的,0是一级分类,1是二级分类 |