|
|
|
|
@ -91,7 +91,8 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
|
|
|
|
|
String taskSeCd = processInfo.get("taskSeCd");
|
|
|
|
|
String orgID = currentUser().getOrgID();
|
|
|
|
|
String fileGroupType = processInfo.get("fileGroupType");
|
|
|
|
|
boolean statByTeamEquipment = TaskProcessor.get().statByTeamEquipment(taskSeCd);
|
|
|
|
|
boolean statByTeamEquipment = TaskProcessor.get().statByTeamEquipment(taskSeCd),
|
|
|
|
|
excludeExempted = "true".equals(processInfo.get("excludeExempted"));
|
|
|
|
|
HashMap<String, Object> resultMap = new HashMap<>();
|
|
|
|
|
|
|
|
|
|
List<DataObject> crdnList = divideFiles(fileList).stream()
|
|
|
|
|
@ -173,7 +174,7 @@ public class ImportServiceBean extends AbstractServiceBean implements ImportServ
|
|
|
|
|
//3.등록
|
|
|
|
|
crdnList.forEach(info -> {
|
|
|
|
|
Crdn crdn = (Crdn)info.get("crdn");
|
|
|
|
|
if (exempted.contains(crdn.getVhrno()))
|
|
|
|
|
if (exempted.contains(crdn.getVhrno()) && excludeExempted)
|
|
|
|
|
crdn.setCrdnSttsCd("81"); // 면제차량
|
|
|
|
|
boolean saved = crdnBean.create(null, crdn, (List<FileInfo>)info.get("fileInfos"));
|
|
|
|
|
resultMap.put("saved", saved);
|
|
|
|
|
|