한글문서서식 수정(폐기진행사진이 없는 자료는 페이지 추가하지 않도록 수정)

dev
이범준 4 months ago
parent 2689339367
commit d3390d0021

@ -51,7 +51,7 @@ public class DisposeProcessDetails extends HWPFormat {
for(int a=0;a<partitions.size();a++) {
DataObject partitionN = partitions.get(a);
String titleArg1 = partitionN.string("dsuseMthNm");
String titleArg2 = partitionN.string("bsshNm0");
String titleArg2 = "";
List<String> photos = (List<String>)partitionN.get("dsuseimgPaths");
for(int i=0;i<photos.size();i++) {

@ -19,9 +19,6 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;
import net.minidev.json.JSONObject;
import net.minidev.json.parser.ParseException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
@ -52,6 +49,8 @@ import cokr.xit.base.web.ApplicationController;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.foundation.data.JSON;
import cokr.xit.foundation.web.WebClient;
import net.minidev.json.JSONObject;
import net.minidev.json.parser.ParseException;
@Controller
@RequestMapping(
@ -431,7 +430,6 @@ public class AddsNimsController extends ApplicationController {
if(changeDscdmngId) {
DataObject partition = new DataObject();
partition.set("dsuseMthNm", data.string("dsuseMthNm"));
partition.set("bsshNm0", data.string("bsshNm0"));
List<DataObject> dsuseimgs = fileService.getFileList(
new FileQuery().setInfoType("110").setInfoKeys(data.string("dscdmngId"))
@ -446,6 +444,10 @@ public class AddsNimsController extends ApplicationController {
})
.toList();
if(dsuseimgs.isEmpty()) {
continue;
}
List<String> dsuseimgPaths = new ArrayList<String>();
for(DataObject dsuseimg : dsuseimgs) {
dsuseimgPaths.add(dsuseimg.string("FILE_PATH"));

Loading…
Cancel
Save