public void delete() { SysUser loginMan = getSessionUserInfo(); String id = this.sysRole.getId(); logger.info("delete role,id:" + id); try { String[] idArr = id.split(","); for (String idStr : idArr) { this.sysRoleService.delete(idStr); } logger.info(loginMan.getCode() + " delete role,id:" + id); responseFlag(true); } catch (Exception e) { responseFlag(false); logger.info("error occur when " + loginMan.getCode() + " delete role,id:" + id, e); } }
/* 204: */ /* 205: */ public void delete() /* 206: */ { /* 207:218 */ SysUser loginMan = getSessionUserInfo(); /* 208: */ try /* 209: */ { /* 210:220 */ if (this.pay == null) { /* 211:221 */ this.pay = new Pay(); /* 212: */ } /* 213:223 */ this.cashItemService.deleteByIntoId(this.pay.getId()); /* 214:224 */ this.payService.delete(this.pay.getId()); /* 215:225 */ logger.info(loginMan.getCode() + " delete pay,id:" + this.pay.getId()); /* 216:226 */ responseFlag(true); /* 217: */ } /* 218: */ catch (Exception e) /* 219: */ { /* 220:228 */ responseFlag(false); /* 221:229 */ logger.error("error occur when delete a pay", e); /* 222: */ } /* 223: */ }