|
@@ -15,6 +15,7 @@ import com.its.op.entity.its.link.TbLink;
|
|
|
import com.its.op.entity.its.rse.TbRseCtlrSttsHs;
|
|
|
import com.its.op.entity.its.vds.TbVdsCtlrSttsHs;
|
|
|
import com.its.op.entity.its.vms.TbVmsCtlrSttsHs;
|
|
|
+import com.its.op.entity.its.wcam.TbWcamCtlrSttsHs;
|
|
|
import com.its.op.global.CmmnCdManager;
|
|
|
import com.its.op.global.TbIfscManager;
|
|
|
import com.its.op.global.TbLinkManager;
|
|
@@ -150,13 +151,13 @@ public class ReportService {
|
|
|
.build());
|
|
|
});
|
|
|
|
|
|
- List<TbRseCtlrSttsHs> wcamError = this.wcamSttsHsRepo.findAllReportError(fromDt, toDt);
|
|
|
+ List<TbWcamCtlrSttsHs> wcamError = this.wcamSttsHsRepo.findAllReportError(fromDt, toDt);
|
|
|
wcamError.forEach(obj -> {
|
|
|
result.add(ReportFacilityErrorDto.builder()
|
|
|
.fcltSeq(5)
|
|
|
.fcltType("WCAM")
|
|
|
- .fcltId(obj.getRse() != null ? obj.getRse().getRseCtlrId() : String.valueOf(obj.getRseCtlrNmbr()))
|
|
|
- .fcltNm(obj.getRse() != null ? obj.getRse().getRseNm() : String.valueOf(obj.getRseCtlrNmbr()))
|
|
|
+ .fcltId(obj.getWcam() != null ? obj.getWcam().getWcamCtlrId() : String.valueOf(obj.getWcamCtlrNmbr()))
|
|
|
+ .fcltNm(obj.getWcam() != null ? obj.getWcam().getWcamCtlrId() : String.valueOf(obj.getWcamCtlrNmbr()))
|
|
|
.rgstDt(obj.getCrtnDt())
|
|
|
.build());
|
|
|
});
|