|
|
|
@ -937,6 +937,10 @@ public class PatrolResultController extends BaseController { |
|
|
|
analyseReq.setObjectList(filterList); |
|
|
|
analyseReq.setRequestHostIp(MAJOR_URL); |
|
|
|
analyseReq.setRequestHostPort(TASK_PORT); |
|
|
|
analyseReq.setSftpHostIp(ip); |
|
|
|
analyseReq.setSftpHostPort(port); |
|
|
|
analyseReq.setSftpUsername(username); |
|
|
|
analyseReq.setSftpPassword(password); |
|
|
|
if (filterList.get(0).getImageUrlList() != null && filterList.get(0).getImageUrlList().length > 0) { |
|
|
|
String meterFilter = patrolTaskService.selectConfigByKey(AnalyseConstants.ANALYSE_IS_METER_FILTER); |
|
|
|
analyseRemoteService.sendRequest(analyseReq, filterList.get(0).getTypeList(), "1".equals(meterFilter)); |
|
|
|
@ -950,6 +954,10 @@ public class PatrolResultController extends BaseController { |
|
|
|
analyseReq.setObjectList(bigModelList); |
|
|
|
analyseReq.setRequestHostIp(MAJOR_URL); |
|
|
|
analyseReq.setRequestHostPort(TASK_PORT); |
|
|
|
analyseReq.setSftpHostIp(ip); |
|
|
|
analyseReq.setSftpHostPort(port); |
|
|
|
analyseReq.setSftpUsername(username); |
|
|
|
analyseReq.setSftpPassword(password); |
|
|
|
if (bigModelList.get(0).getImageUrlList() != null && bigModelList.get(0).getImageUrlList().length > 0) { |
|
|
|
analyseRemoteService.sendRequest(analyseReq, bigModelList.get(0).getTypeList(), true); |
|
|
|
} |
|
|
|
|