/** * Description:工单详情 -查询-查看详情<br> * * @author 钟琼 * @version 0.1 2013-4-1 */ @SuppressWarnings("unchecked") public String searchCompalaintDetail() { // 工单详情 dutyDetail = dutyManager.getDutyDomainDetail(dutyId); // 调查建议 workOrderList = complaintManager.getInvestigateSuggestionByCompId(new BigDecimal(complaintId)); // 处理记录 searchProtList = this.complaintManager.searchReturnedRecordListByCompId(new BigDecimal(complaintId)); // 通知对象 List<Bulletin> bulletinList = this.complaintManager.searchBulletinByCompId(new BigDecimal(complaintId)); StringBuffer bulletinStr = new StringBuffer(); for (Bulletin str : bulletinList) { String bulletinName = str.getBulletinname(); bulletinStr.append(bulletinName); bulletinStr.append(","); } this.bulletinStr = bulletinStr.toString(); // 处理结果 searchResultList = this.complaintManager.searchProcessResultListByCompId(new BigDecimal(complaintId)); // 通过工单id查询工单 complaint = complaintManager.getComplaintById(complaintId); return SUCCESS; }