فهرست منبع

修复手机端bug,label值首字母大写问题

Wang-Xiao-Ran 1 سال پیش
والد
کامیت
4739afb5ea

+ 6 - 6
src/main/java/com/sooka/sponest/mobile/comprehensive/organizationAndInstitutionController/AppTeamController.java

@@ -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"));