| | |
| | | import cn.gistack.sm.sjztmd.word.vo.*; |
| | | import cn.gistack.sm.sjztods.constant.ZtApiUrlConstant; |
| | | import cn.gistack.sm.sjztods.constant.ZtConfigConstant; |
| | | import com.alibaba.excel.util.StringUtils; |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | |
| | | String afe = tbAttResStagChar==null?"":tbAttResStagChar.getAfterFloodEnd() != null ? new SimpleDateFormat("M月dd日").format(tbAttResStagChar.getAfterFloodEnd()) : ""; |
| | | tableMap.put("beforeFloodStart", bfs); |
| | | tableMap.put("beforeFloodEnd", bfe); |
| | | if (!StringUtils.isEmpty(bfs) && !StringUtils.isEmpty(bfe)) { |
| | | tableMap.put("beforeFloodDataInfo", bfs + "-" + bfe); |
| | | } |
| | | tableMap.put("midFloodStart", mfs); |
| | | tableMap.put("midFloodEnd", mfe); |
| | | if (!StringUtils.isEmpty(mfs) && !StringUtils.isEmpty(mfe)) { |
| | | tableMap.put("midFloodDataInfo", mfs + "-" + mfe); |
| | | } |
| | | tableMap.put("afterFloodStart", afs); |
| | | tableMap.put("afterFloodEnd", afe); |
| | | tableMap.put("desFloodFlowMax", tbAttResStagChar==null || tbAttResStagChar.getDesFloodFlowMax()==null?"":String.format("%.2f",tbAttResStagChar.getDesFloodFlowMax())); |
| | | tableMap.put("checFloodFlowMax", tbAttResStagChar==null || tbAttResStagChar.getChecFloodFlowMax()==null?"":String.format("%.2f",tbAttResStagChar.getChecFloodFlowMax()));; |
| | | if (!StringUtils.isEmpty(afs) && !StringUtils.isEmpty(afe)) { |
| | | tableMap.put("afterFloodDataInfo", afs + "-" + afe); |
| | | } |
| | | tableMap.put("desFloodFlowMax", tbAttResStagChar==null || tbAttResStagChar.getDesFloodFlowMax()==null?"":tbAttResStagChar.getDesFloodFlowMax()); |
| | | tableMap.put("checFloodFlowMax", tbAttResStagChar==null || tbAttResStagChar.getChecFloodFlowMax()==null?"":tbAttResStagChar.getChecFloodFlowMax());; |
| | | |
| | | String mainDamType = ""; |
| | | String mainDamMainFoundation = ""; |