| | |
| | | String mdbEntrustCode = StringUtils.isNotBlank(device.getEntrustCode())?device.getEntrustCode():""; |
| | | String mdbSampleCode = StringUtils.isNotBlank(device.getSampleCode())?device.getSampleCode():""; |
| | | String dbFileName = StringUtils.isNotBlank(device.getDbFileName())?device.getDbFileName():""; |
| | | String colorTag = StringUtils.isNotBlank(cableTag)?cableTag:""; |
| | | String lotBatchNoStr = StringUtils.isNotBlank(lotBatchNo)?lotBatchNo:""; |
| | | String lastSql = StringUtils.isNotBlank(device.getLastSql())?device.getLastSql():""; |
| | | String http = HTTP + ip + GETFILE + |
| | | "?filePath=" + device.getCollectUrl() + |
| | | "&fileExtension=" + device.getFileType() + |
| | |
| | | "&dbFileName=" + dbFileName + |
| | | "&dbUserName=" + dbUserName + |
| | | "&dbPassword=" + dbPassword + |
| | | "&lotBatchNo=" + lotBatchNo + |
| | | "&cableTag=" + cableTag + |
| | | "&lotBatchNo=" + lotBatchNoStr + |
| | | "&cableTag=" + colorTag + |
| | | "&lastSql=" + lastSql + |
| | | "&dbTable=" + dbTable; |
| | | System.out.println("请求的 URL: " + http); |
| | | String result = null; |