fix : 외사모니터링 지정보고 파일다운 추가
parent
9b992885df
commit
55df800b70
|
|
@ -8,6 +8,7 @@ import com.dbnt.faisp.main.fpiMgt.affair.service.AffairService;
|
|||
import com.dbnt.faisp.main.fpiMgt.affairPlan.service.PlanService;
|
||||
import com.dbnt.faisp.main.fpiMgt.affairResult.service.ResultService;
|
||||
import com.dbnt.faisp.main.fpiMgt.intelligenceNetwork.service.IntelligenceNetworkService;
|
||||
import com.dbnt.faisp.main.fpiMgt.monitoring.service.MonitoringService;
|
||||
import com.dbnt.faisp.main.fpiMgt.sri.service.SriService;
|
||||
import com.dbnt.faisp.main.ivsgtMgt.boardInvestigation.service.BoardInvestigationService;
|
||||
import com.dbnt.faisp.main.ivsgtMgt.majorStatus.service.MajorStatusService;
|
||||
|
|
@ -57,6 +58,7 @@ public class FileController extends BaseService{
|
|||
private final CounterIntelligenceService ciService;
|
||||
private final MajorStatusService majorStatusService;
|
||||
private final IntelligenceNetworkService inrelligenceNetworkService;
|
||||
private final MonitoringService monitoringService;
|
||||
|
||||
@GetMapping("/editorFileDisplay")
|
||||
public ResponseEntity<Resource> editorFileDisplay(HttpServletRequest request,
|
||||
|
|
@ -233,6 +235,9 @@ public class FileController extends BaseService{
|
|||
case "operationPlan":
|
||||
downloadFile = inrelligenceNetworkService.selectOperationPlanFile(parentKey, fileSeq);
|
||||
break;
|
||||
case "designation":
|
||||
downloadFile = monitoringService.selectDesignationFile(parentKey, fileSeq);
|
||||
break;
|
||||
}
|
||||
return downloadFile;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ import com.dbnt.faisp.main.fpiMgt.monitoring.mapper.MonitoringMapper;
|
|||
import com.dbnt.faisp.main.fpiMgt.monitoring.model.MonitoringDesignation;
|
||||
import com.dbnt.faisp.main.fpiMgt.monitoring.model.MonitoringDesignationApprv;
|
||||
import com.dbnt.faisp.main.fpiMgt.monitoring.model.MonitoringDesignationFile;
|
||||
import com.dbnt.faisp.main.fpiMgt.monitoring.model.MonitoringDesignationFile.monitoringDesignationFileId;
|
||||
import com.dbnt.faisp.main.fpiMgt.monitoring.repository.MonitoringDesignationApprvRepository;
|
||||
import com.dbnt.faisp.main.fpiMgt.monitoring.repository.MonitoringDesignationFileRepository;
|
||||
import com.dbnt.faisp.main.fpiMgt.monitoring.repository.MonitoringDesignationRepository;
|
||||
|
|
@ -135,6 +136,10 @@ public class MonitoringService extends BaseService {
|
|||
return apprv.getMdKey();
|
||||
}
|
||||
|
||||
public MonitoringDesignationFile selectDesignationFile(Integer parentKey, Integer fileSeq) {
|
||||
return monitoringDesignationFileRepository.findById(new monitoringDesignationFileId(parentKey,fileSeq)).orElse(null);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue