mjkhan21 1 year ago
commit a167d7bf84

@ -46,17 +46,13 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
for (Crdn crdn: crdns) { for (Crdn crdn: crdns) {
List<FileInfo> files = byInfoKey.get(crdn.getLinkId()); List<FileInfo> files = byInfoKey.get(crdn.getLinkId());
for(FileInfo file : files) { files.removeIf(item -> item.getMimeType().startsWith("video"));
if(file.getMimeType().startsWith("video")) {
files.remove(file);
continue;
}
for(FileInfo file : files) {
file.setInputStream(file.getInputStream()); //신규 인풋스트림 생성 file.setInputStream(file.getInputStream()); //신규 인풋스트림 생성
file.setUrl(""); //인터페이스 첨부파일정보 제거 file.setUrl(""); //인터페이스 첨부파일정보 제거
file.setPath(""); //국민신문고 첨부파일정보 제거 file.setPath(""); //국민신문고 첨부파일정보 제거
} }
crdn.setCvlcptLinkYn("Y"); crdn.setCvlcptLinkYn("Y");
crdnBean.create(null, crdn, files); crdnBean.create(null, crdn, files);

@ -64,7 +64,7 @@
<div class="card d-inline-flex" <div class="card d-inline-flex"
style="width:1400px;height:850px;padding: 10px;background-color: #E2E6E9;border: solid 1px #ccc;"> style="width:1400px;height:850px;padding: 10px;background-color: #E2E6E9;border: solid 1px #ccc;">
<div class="d-flex justify-content-center align-items-center" style="border-style: solid;width:100%;height: 100%"> <div class="d-flex justify-content-center align-items-center" style="border-style: solid;width:100%;height: 100%">
<video id="video" width="1200" controls="true" hidden> <video id="video" style="max-width:1200px;max-height:700px;" controls="true" hidden>
</video> </video>
</div> </div>
</div> </div>

Loading…
Cancel
Save