/** * @author : 林俊钦 * @date : Mar 19, 2012 1:31:20 PM @Method Description :审核状态 */ public String auditState() throws Exception { String info_state = "", no_reason = ""; String id = this.groupgoods.getGroup_id(); if (id == null || id.equals("")) { return auditList(); } // 获取数据库对象 Groupgoods gd = this.groupgoodsService.get(id); if (this.groupgoods.getInfo_state() != null && !this.groupgoods.getInfo_state().equals("")) { info_state = this.groupgoods.getInfo_state(); // 设置状态值 gd.setInfo_state(info_state); } if (this.groupgoods.getNo_reason() != null) { no_reason = this.groupgoods.getNo_reason(); // 设置拒绝理由 gd.setNo_reason(no_reason); } // 更新数据库供应列表 this.groupgoodsService.update(gd); this.addActionMessage("审核团购商品信息成功"); return auditList(); }