|
@@ -72,12 +72,12 @@ public class AppTeamController extends BaseController {
|
|
|
AjaxResult ajaxResult = remoteTeamService.selectComprehensiveTeamById(id);
|
|
|
if("200".equals(String.valueOf(ajaxResult.get("code")))){
|
|
|
HashMap<String,Object> comprehensiveTeam = (HashMap<String, Object>) ajaxResult.get("data");
|
|
|
- comprehensiveTeam.put("GenderLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_SEX, MapUtils.getString(comprehensiveTeam,"Gender")));
|
|
|
- comprehensiveTeam.put("NationLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_NATION, MapUtils.getString(comprehensiveTeam,"Nation")));
|
|
|
- comprehensiveTeam.put("PoliticalOutlookLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_POLITICAL_STATUS, MapUtils.getString(comprehensiveTeam,"PoliticalOutlook")));
|
|
|
- comprehensiveTeam.put("LevelLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_PERSONNEL_LEVEL, MapUtils.getString(comprehensiveTeam,"Level")));
|
|
|
- comprehensiveTeam.put("DutiesLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_PERSONNEL_JOB,MapUtils.getString(comprehensiveTeam,"Duties")));
|
|
|
- comprehensiveTeam.put("EducationLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_EDUCATIONAL_BACKGROUND,MapUtils.getString(comprehensiveTeam,"Education")));
|
|
|
+ comprehensiveTeam.put("genderLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_SEX, MapUtils.getString(comprehensiveTeam,"gender")));
|
|
|
+ comprehensiveTeam.put("nationLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_NATION, MapUtils.getString(comprehensiveTeam,"nation")));
|
|
|
+ comprehensiveTeam.put("politicalOutlookLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_POLITICAL_STATUS, MapUtils.getString(comprehensiveTeam,"politicalOutlook")));
|
|
|
+ comprehensiveTeam.put("levelLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_PERSONNEL_LEVEL, MapUtils.getString(comprehensiveTeam,"level")));
|
|
|
+ comprehensiveTeam.put("dutiesLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_PERSONNEL_JOB,MapUtils.getString(comprehensiveTeam,"duties")));
|
|
|
+ comprehensiveTeam.put("educationLabel",DictUtils.getDictDataByValue(DictKeys.COMPREHENSIVE_EDUCATIONAL_BACKGROUND,MapUtils.getString(comprehensiveTeam,"education")));
|
|
|
return AjaxResult.success(comprehensiveTeam);
|
|
|
}else{
|
|
|
return AjaxResult.error(ajaxResult.get("code").toString(), ajaxResult.get("msg"));
|