| | |
| | | import cn.gistack.sm.sjztmd.feign.IAttResBaseClient; |
| | | import cn.gistack.sm.sjztmd.feign.ISjztMdClient; |
| | | import cn.gistack.sm.sjztmd.service.IAttResBaseService; |
| | | import cn.gistack.sm.sjztmd.service.ITbProjectService; |
| | | import cn.gistack.sm.sjztmd.service.IYwFloodReportInfoService; |
| | | import cn.gistack.sm.sjztmd.util.MyDateUtils; |
| | | import cn.gistack.sm.sjztmd.word.service.ISjztmdService; |
| | |
| | | import java.io.FileOutputStream; |
| | | import java.io.IOException; |
| | | import java.net.URLEncoder; |
| | | import java.text.ParseException; |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | |
| | | private final ISmsRecordClient smsRecordClient; |
| | | |
| | | private final CallService callService; |
| | | |
| | | private final ITbProjectService tbProjectService; |
| | | |
| | | private final IYwFloodReportInfoService ywFloodReportInfoService; |
| | | |
| | |
| | | sjztmdService.getReservoirRainfallForecast(dayIndexList); |
| | | } |
| | | |
| | | @Override |
| | | public void setGetProjectCheckStatus() throws Exception { |
| | | tbProjectService.updateallcheck(); |
| | | } |
| | | |
| | | private void createFile(String filePath, byte[] bytes) { |
| | | // 将byte[]写入文件 |
| | | try (FileOutputStream fos = new FileOutputStream(filePath)) { |