|
@@ -385,7 +385,7 @@ public class OrganizationEvaluationInfoServiceImpl extends ServiceImpl<Organizat
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Map getEvaluationInfoList(String organizationEvaluationId, String indicatorId, String binSection, String binStage, HttpServletRequest request) {
|
|
|
+ public Map getEvaluationInfoList(String organizationEvaluationId,String organizationShortName, String indicatorId, String binSection, String binStage, HttpServletRequest request) {
|
|
|
|
|
|
Map data = new HashMap();
|
|
|
|
|
@@ -412,7 +412,7 @@ public class OrganizationEvaluationInfoServiceImpl extends ServiceImpl<Organizat
|
|
|
// }
|
|
|
|
|
|
boolean titlemark = true;//标记生成标题
|
|
|
- List<OrganizationEvaluationInfoResDTO> infoResDTOList = baseMapper.selectEvaluationInfoList(organizationEvaluationId, indicatorId,binSection,binStage,"");
|
|
|
+ List<OrganizationEvaluationInfoResDTO> infoResDTOList = baseMapper.selectEvaluationInfoList(organizationEvaluationId,organizationShortName, indicatorId,binSection,binStage,"");
|
|
|
List<IndicatorDictionary> dictionaryList = indicatorDictionaryService.list("", indicatorId, "", "");
|
|
|
|
|
|
//根据组织(公司)id分组
|
|
@@ -439,7 +439,7 @@ public class OrganizationEvaluationInfoServiceImpl extends ServiceImpl<Organizat
|
|
|
}
|
|
|
titlemap.put("key", d.getOptionName());//名称
|
|
|
titlemap.put("code",d.getChildCode()+"_"+d.getOptionCode());//名称
|
|
|
- titlemap.put("flag", d.getIsQuantified());//是否量化
|
|
|
+ titlemap.put("flag", d.getIsQuantified()?"1":"2");//是否量化
|
|
|
titleArray.add(titlemap);
|
|
|
|
|
|
}
|
|
@@ -450,7 +450,7 @@ public class OrganizationEvaluationInfoServiceImpl extends ServiceImpl<Organizat
|
|
|
List<Map> titlestateArray = new ArrayList<>();
|
|
|
deptstateMap.put("key", "填报状态");//名称
|
|
|
deptstateMap.put("code","state");//名称
|
|
|
- deptstateMap.put("flag", false);//是否编辑
|
|
|
+ deptstateMap.put("flag", "3");//是否编辑
|
|
|
titlestateArray.add(deptstateMap);
|
|
|
title.put("状态", titlestateArray);
|
|
|
titlemark = false;
|
|
@@ -521,7 +521,7 @@ public class OrganizationEvaluationInfoServiceImpl extends ServiceImpl<Organizat
|
|
|
Map<String ,List<Map<String,String>>> title = new LinkedHashMap();//标题
|
|
|
List<Map<String,String>> mapList = new ArrayList<>();//数据list
|
|
|
boolean titlemark = true;//标记生成标题
|
|
|
- List<OrganizationEvaluationInfoResDTO> infoResDTOList = baseMapper.selectEvaluationInfoList(organizationEvaluationId, indicatorId,binSection,binStage,"");
|
|
|
+ List<OrganizationEvaluationInfoResDTO> infoResDTOList = baseMapper.selectEvaluationInfoList(organizationEvaluationId, "",indicatorId,binSection,binStage,"");
|
|
|
List<IndicatorDictionary> dictionaryList = indicatorDictionaryService.list("", indicatorId, "", "");
|
|
|
|
|
|
//根据组织(公司)id分组
|
|
@@ -896,7 +896,7 @@ public class OrganizationEvaluationInfoServiceImpl extends ServiceImpl<Organizat
|
|
|
|
|
|
for (AddEvaluationInfoDTO addEvaluationInfoDTO : addEvaluationInfoDTOs) {
|
|
|
|
|
|
- List<OrganizationEvaluationInfoResDTO> infoResDTOList = baseMapper.selectEvaluationInfoList(addEvaluationInfoDTO.getOrganizationEvaluationId(), addEvaluationInfoDTO.getIndicatorId(),addEvaluationInfoDTO.getBinSection(),addEvaluationInfoDTO.getBinStage(),addEvaluationInfoDTO.getOrganizationId());
|
|
|
+ List<OrganizationEvaluationInfoResDTO> infoResDTOList = baseMapper.selectEvaluationInfoList(addEvaluationInfoDTO.getOrganizationEvaluationId(),"", addEvaluationInfoDTO.getIndicatorId(),addEvaluationInfoDTO.getBinSection(),addEvaluationInfoDTO.getBinStage(),addEvaluationInfoDTO.getOrganizationId());
|
|
|
|
|
|
if(null != infoResDTOList && infoResDTOList.size()>0){
|
|
|
throw new CustomException("该组织已存在当前指标");
|