/** * @function 上线检查 * @author LuoSR * @date 2011-12-22 */ public void checkFatwaMap(RoleBean roleBean) { // 是否被追杀 if (!roleBean.isNotFatwa) { // 否 // 判断是否在Map中 if (fatwas.containsKey(roleBean.getRoleid())) { roleBean.setIsNotFatwa(true); roleBean.addKillIcon(); roleBean.sendSystemMsg(fatwas.get(roleBean.getRoleid()).getPromulgatorName()); } else { roleBean.delKillIcon(); } } else { if (!fatwas.containsKey(roleBean.getRoleid())) { roleBean.setIsNotFatwa(false); roleBean.delKillIcon(); } } }