/** * Deletes the selected entity. * * @return the SUCCESS result */ public String delete() throws ServiceException { baseService.batchDeleteEntity(SalesStage.class, this.getSeleteIDs()); return SUCCESS; }
/** * Deletes the selected entities. * * @return the SUCCESS result */ public String delete() throws Exception { UserUtil.permissionCheck("delete_targetList"); baseService.batchDeleteEntity(TargetList.class, this.getSeleteIDs()); return SUCCESS; }