te().getTime());Р?divce.setOperator_date(time);Р?dao.insertDivce(divce);Р?Log log=new Log();Р?Timestamp date=new Timestamp(new Date().getTime());Р?log.setOperator_date(date);Р?log.setOperator_name("添加");Р?String s="添加设备(编号:"+divce.getDivce_no()+" 名字:"+divce.getDivce_name()+" 类型:"+divce.getDivce_type()+")";Р?log.setOperator(s);Р?LogDAO dao1=new LogDAO();Р?dao1.insertLog(log);Р?return "ess";Р}Рpublic String allDivce(){Р?DivceDAO dao=new DivceDAO();Р?List list=dao.allDivce();Р?HttpServletRequest request =ServletActionContext.getRequest();Р?request.setAttribute("list",list);Р?Usr u=(Usr)ActionContext.getContext().getSession().get("Usr");Р?if(u.getAuthority()==1)Р return "ess";Р?elseР return "ess";Р}Рpublic String updataDivceJSP(){Р?HttpServletRequest request =ServletActionContext.getRequest();