| | |
| | | StringBuilder builder = new StringBuilder(""); |
| | | List<PatrolRecordVO> patrolRecordVOList = taskPlaceRectificationVO.getPatrolRecordVOList(); |
| | | for (int i = 0; i < patrolRecordVOList.size(); i++) { |
| | | builder.append(i + 1).append(" : ").append(patrolRecordVOList.get(i).getItemsName()).append("; "); |
| | | if(patrolRecordVOList.get(i).getState().equals(0)){ |
| | | builder.append(i + 1).append(" : ").append(patrolRecordVOList.get(i).getItemsName()).append("; "); |
| | | } |
| | | } |
| | | taskPlaceRectificationVO.setHiddenDanger(builder.toString()); |
| | | } |
| | |
| | | for (TaskPlaceRectificationExcel taskPlaceRectificationExcel : export) { |
| | | for (DictBiz dictBiz : nineType) { |
| | | if (StringUtils.isNotBlank(taskPlaceRectificationExcel.getNineType()) && taskPlaceRectificationExcel.getNineType().equals(dictBiz.getDictKey())) { |
| | | taskPlaceRectificationExcel.setNineType(dictBiz.getDictValue()); |
| | | if (taskPlaceRectificationExcel.getNineType().contains("10,11,12")) { |
| | | taskPlaceRectificationExcel.setNineType("小学校(幼儿园、校外培训机构)- " + dictBiz.getDictValue()); |
| | | } else if (taskPlaceRectificationExcel.getNineType().contains("13,14,15")) { |
| | | taskPlaceRectificationExcel.setNineType("小医院(诊所、养老院)- " + dictBiz.getDictValue()); |
| | | } else { |
| | | taskPlaceRectificationExcel.setNineType(dictBiz.getDictValue()); |
| | | } |
| | | } |
| | | } |
| | | if (taskPlaceRectificationExcel.getRectificationFlag().equals(1)) { |
| | |
| | | StringBuilder builder = new StringBuilder(""); |
| | | List<PatrolRecordVO> patrolRecordVOList = taskPlaceRectificationExcel.getPatrolRecordVOList(); |
| | | for (int i = 0; i < patrolRecordVOList.size(); i++) { |
| | | builder.append(i + 1).append(" : ").append(patrolRecordVOList.get(i).getItemsName()).append("; "); |
| | | if(patrolRecordVOList.get(i).getState().equals(0)){ |
| | | builder.append(i + 1).append(" : ").append(patrolRecordVOList.get(i).getItemsName()).append("; "); |
| | | } |
| | | } |
| | | taskPlaceRectificationExcel.setHiddenDanger(builder.toString()); |
| | | } |