| | |
| | | private String overNormalMidInfo; |
| | | |
| | | private String smsResultInfo; |
| | | private String zdInfo; |
| | | |
| | | public OverWord(List<TotalInfo> totalList, List<DzkInfo> dzkList, List<OverDetail> overDetailList, List<SzInfo> szInfoList, List<SmsResultVO> resultVOList, List<CallTaskResultVO> whtjList, String isNew) { |
| | | this.tm = new SimpleDateFormat("MM月dd日H时").format(new Date()); |
| | |
| | | private void formatSzInfo(List<SzInfo> szInfoList) { |
| | | List<String> list = new ArrayList<>(); |
| | | |
| | | List<String> listZd = new ArrayList<>(); |
| | | |
| | | for (int i = 0; i < szInfoList.size(); i++) { |
| | | SzInfo szInfo = szInfoList.get(i); |
| | | String text = generateSzInfo(szInfo); |
| | | list.add(text); |
| | | if (szInfo.getType().equals("省直水库")) { |
| | | String text = generateSzInfo(szInfo); |
| | | list.add(text); |
| | | } else { |
| | | listZd.add(generateSzInfo(szInfo)); |
| | | } |
| | | |
| | | } |
| | | |
| | | // this.provinceInfo = String.join("\n\r\r\r\r",list); |
| | | this.provinceInfo = String.join("\n", list); |
| | | this.zdInfo = String.join("\n", listZd); |
| | | } |
| | | |
| | | private String generateSzInfo(SzInfo szInfo) { |