wurui hai 1 mes
pai
achega
456e04b38d

+ 12 - 0
orbit-base-biz/base-biz-service/src/main/java/com/base/biz/service/TargetDemandService.java

@@ -122,6 +122,14 @@ public class TargetDemandService extends ServiceImpl<TargetDemandMapper, TargetD
                     sceneTargetPoint.getTargetId().equals(targetDemandDTO.getTargetId())).collect(Collectors.toList());
             if (!CollectionUtils.isEmpty(sceneTargetPointList)) {
                 for (SceneTargetPoint sceneTargetPoint : sceneTargetPointList) {
+
+/*                    SceneBasisTarget sceneBasisTarget = sceneBasisTargetMapper.selectById(sceneTargetPoint.getTargetId());
+                    TargetDemand targetDemand11 = new TargetDemand();
+                    BeanUtils.copyProperties(targetDemandDTO, targetDemand11);
+                    targetDemand11.setReqName(targetDemand11.getId()+sceneBasisTarget.getTargetName());
+                    this.updateById(targetDemand11);*/
+
+
                     PointDTO pointDTO = new PointDTO();
                     pointDTO.setLng(sceneTargetPoint.getLongitude().doubleValue());
                     pointDTO.setLat(sceneTargetPoint.getLatitude().doubleValue());
@@ -624,6 +632,10 @@ public class TargetDemandService extends ServiceImpl<TargetDemandMapper, TargetD
             relation.setStationSelected(null);
             relation.setId(UUID.randomUUID().toString());
             relation.setTargetId(sceneBasisTarget.getId());
+
+            relation.setReqName(relation.getId()+sceneBasisTarget.getTargetName());
+            relation.setTargetId(sceneBasisTarget.getId());
+
             relation.setPriority(999);
             if (relation.getObservationPurpose() == null) {
                 relation.setObservationPurpose(1);

+ 1 - 0
orbit-base-plan/base-plan-service/src/main/java/com/base/plan/service/StripService.java

@@ -960,6 +960,7 @@ public class StripService extends ServiceImpl<StripMapper, StripInfo> {
                         /*regionCoreDTO.setBizSerial(req.getReqIds().get(0));*/
                         bizReq.setRegion(regionCoreDTO);
                         List<SubPointDataRpcDTO> subPointDataRpcDTOS = regionService.getSubPoint(regionCoreDTO, payloadRpcDTO, targetRelationDTO);
+                        log.info("查询到星下点条数!:"+subPointDataRpcDTOS.size());
                         if (!CollectionUtils.isEmpty(subPointDataRpcDTOS)) {
                                     /*EphTrack ephTrack = ephTrackService.convertEphTrack(subPointDataRpcDTOS, payloadInfo, fzTaskInfo);
                                     ephdatas.add(ephTrack);*/