|
|
@@ -171,7 +171,9 @@ public class BackTrackService {
|
|
|
if(Objects.nonNull(intergData)){
|
|
|
for (DeviceIntegrationVo listvo : intergData){
|
|
|
listm = commonService.returnIntegrationDataArray(snCode,dateStart,dateEnd,listvo,"rawId","val");
|
|
|
+ Collections.reverse(listm);
|
|
|
map.put(listvo.getIntegrationName(),listm);
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
return HttpResult.ok(map);
|
|
|
@@ -255,6 +257,7 @@ public class BackTrackService {
|
|
|
if(Objects.nonNull(intergData)){
|
|
|
for (DeviceIntegrationVo listvo : intergData){
|
|
|
listm = commonService.returnIntegrationDataArray(snCode,dateStart,dateEnd,listvo,"time","offset");
|
|
|
+ Collections.reverse(listm);
|
|
|
mapList.put(listvo.getIntegrationName(),listm);
|
|
|
}
|
|
|
}
|
|
|
@@ -327,6 +330,9 @@ public class BackTrackService {
|
|
|
if (!Objects.isNull(has)) {
|
|
|
throw new SystemException(HttpStatus.QUERY_FAIL_CODE, HttpStatus.INTEGRATION_EXISTS);
|
|
|
}
|
|
|
+ if(DictItemEnum.getHasBool(vo.getIntegrationName()) == 1){
|
|
|
+ throw new SystemException(HttpStatus.QUERY_FAIL_CODE, HttpStatus.INTEGRATION_SAME_PART_EXISTS);
|
|
|
+ }
|
|
|
HeaderData headerData = commonService.getHeaderData(request);
|
|
|
KwsIntegration integration = new KwsIntegration();
|
|
|
BeanUtils.copyProperties(vo, integration);
|