| | |
| | | "'" + directive.getSendTime() + "'" + "," + |
| | | "'" + directive.getContent() + "'" + ")"; |
| | | //FtpUtil.sqlFileUpload(s1); |
| | | myAsyncService.FTP(s1); |
| | | myAsyncService.dataSync(s1); |
| | | } |
| | | if (status) { |
| | | //新增图片 |
| | |
| | | "'" + directiveFile.getDirectiveId() + "'" + "," + |
| | | "'" + urls+ "'"+ ")"; |
| | | //FtpUtil.sqlFileUpload(s2); |
| | | myAsyncService.FTP(s2); |
| | | myAsyncService.dataSync(s2); |
| | | if (!status) { |
| | | return R.status(false); |
| | | } |
| | |
| | | ",content = " + "'" + directive.getContent() + "'" + |
| | | " " + "where id = " + "'" + directive.getId() + "'"; |
| | | //FtpUtil.sqlFileUpload(s1); |
| | | myAsyncService.FTP(s1); |
| | | myAsyncService.dataSync(s1); |
| | | } |
| | | boolean status = false; |
| | | if (update) { |
| | |
| | | "'" + directiveFile.getDirectiveId() + "'" + "," + |
| | | "'" + urls + "'"+ ")"; |
| | | //FtpUtil.sqlFileUpload(s2); |
| | | myAsyncService.FTP(s2); |
| | | myAsyncService.dataSync(s2); |
| | | if (!status) { |
| | | R.status(false); |
| | | } |