求助:一堆的ifelse嵌套privateMapversionCheck(MapmapParam){Mapmsg=newHashMap();if(!"".equals(PMSUtil.isNull(mapParam.get("IS_INTERNET")))){StringcheckVersion=SystemGlobals.getProperty("IS_CHECK");if("1".equals(checkVersion)){Stringversions=SystemGlobals.getProperty("VERSION");Stringversion=PMSUtil.isNull(mapParam.get("VERSION"));StringtaxRegisterNo=PMSUtil.isNull(mapParam.get(""));StringwhiteList=SystemGlobals.getProperty("NO_CHECK_TAX_REGISTER_NO");if((","+whiteList+",").indexOf((","+taxRegisterNo+","))==-1){if((","+versions+",").indexOf(","+version+",")==-1){//找不到msg.put("RESULT","0001");msg.put("MSG","FAILD");}else{msg.put("RESULT",""0000"");}}else{msg.put("RESULT",""0000"");}}else{msg.put("RESULT",""0000"");}}else{msg.put("RESULT",""0000"");}returnmsg;}
BIG阳
相关分类