/** 批量逻辑删除 */ public String batchDelete() { String xtbhs = request.getParameter("xtbhs"); if (yytservice.batchDelete(xtbhs)) { super.outmessage("删除成功!"); } else { super.outmessage("删除失败!"); } return null; }
/** * 删除 * * @return * @throws Exception */ public String delete() throws Exception { String xtbh = entity.getXtbh(); if (yytservice.delete(xtbh)) { super.outmessage("删除成功!"); } else { super.outmessage("删除失败!"); } return null; }
/** * 批量编辑 * * @return */ public String batchEdit() throws Exception { String former = request.getQueryString(); Map<String, Object> map = super.getSerializeForm(former); if (gqdservice.batchEdit(map)) { super.outmessage("编辑成功!"); } else { super.outmessage("编辑失败!"); } return null; }
/** * 资源点搜索 * * @return */ public String pointresource() { super.outmessage("just test"); return null; }