diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/a/service/LntrisAService.java b/src/main/java/cokr/xit/interfaces/lntris/basic/a/service/LntrisAService.java index cbbad45..373e942 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/a/service/LntrisAService.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/a/service/LntrisAService.java @@ -52,6 +52,10 @@ public interface LntrisAService { */ List readA02s(String[] orgs, String... sysCodes); + default List readA02s() { + return readA02s(null); + } + /**전일자 변동 과태료 대장의 업무 적용상태를 수정한다. * @param a02Ids 전일자 변동 과태료 대장 일련번호 * @param status 상태코드 diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD05.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD05.java index eb29f8d..c78af50 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD05.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD05.java @@ -11,7 +11,7 @@ import cokr.xit.interfaces.lntris.TargetMessage; import lombok.Getter; import lombok.Setter; -/**부과취소 정보 +/**수납 정보 * @author mjkhan */ @Getter diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07a.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07a.java index 91e09c7..efd0cff 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07a.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07a.java @@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage; import lombok.Getter; import lombok.Setter; -/**부과체납 정보 +/**부과체납 정보 전일자 변동자료 * @author mjkhan */ @Getter diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07b.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07b.java index 60ea410..a6f6903 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07b.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07b.java @@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage; import lombok.Getter; import lombok.Setter; -/**수납 정보 +/**수납 정보 전일자 변동자료 * @author mjkhan */ @Getter diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07c.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07c.java index 2248399..fa92b07 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07c.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07c.java @@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage; import lombok.Getter; import lombok.Setter; -/**수납 정보 +/**감액 정보 전일자 변동자료 * @author mjkhan */ @Getter diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07d.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07d.java index fbacc54..810fb85 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07d.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07d.java @@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage; import lombok.Getter; import lombok.Setter; -/**과오납 정보 +/**과오납 정보 전일자 변동자료 * @author mjkhan */ @Getter diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07e.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07e.java index 24d7b94..2e7efc9 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07e.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/LntrisD07e.java @@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage; import lombok.Getter; import lombok.Setter; -/**결손정보 +/**결손정보 전일자 변동자료 * @author mjkhan */ @Getter diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/service/LntrisDService.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/service/LntrisDService.java index b69b947..9b623de 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/service/LntrisDService.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/service/LntrisDService.java @@ -153,6 +153,10 @@ public interface LntrisDService { */ List readD07as(String[] orgs, String... sysCodes); + default List readD07as() { + return readD07as(null); + } + /**업무 적용대상 전일자 변동 부과체납 정보를 조회한다. * @param sgbCd 자치단체코드 * @param dptCd 부서코드 @@ -177,6 +181,10 @@ public interface LntrisDService { */ List readD07bs(String[] orgs, String... sysCodes); + default List readD07bs() { + return readD07bs(null); + } + /**업무 적용대상 전일자 변동 수납정보를 조회한다. * @param sgbCd 자치단체코드 * @param dptCd 부서코드 @@ -201,6 +209,10 @@ public interface LntrisDService { */ List readD07cs(String[] orgs, String... sysCodes); + default List readD07cs() { + return readD07cs(null); + } + /**업무 적용대상 전일자 변동 감액정보를 조회한다. * @param sgbCd 자치단체코드 * @param dptCd 부서코드 @@ -225,6 +237,10 @@ public interface LntrisDService { */ List readD07ds(String[] orgs, String... sysCodes); + default List readD07ds() { + return readD07ds(null); + } + /**업무 적용대상 전일자 변동 과오납 정보를 조회한다. * @param sgbCd 자치단체코드 * @param dptCd 부서코드 @@ -249,6 +265,10 @@ public interface LntrisDService { */ List readD07es(String[] orgs, String... sysCodes); + default List readD07es() { + return readD07es(null); + } + /**업무 적용대상 전일자 변동 결손정보를 조회한다. * @param sgbCd 자치단체코드 * @param dptCd 부서코드 diff --git a/src/main/java/cokr/xit/interfaces/lntris/basic/d/service/bean/LntrisD02Bean.java b/src/main/java/cokr/xit/interfaces/lntris/basic/d/service/bean/LntrisD02Bean.java index 1bae90e..08ffc0b 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/basic/d/service/bean/LntrisD02Bean.java +++ b/src/main/java/cokr/xit/interfaces/lntris/basic/d/service/bean/LntrisD02Bean.java @@ -9,6 +9,7 @@ import org.springframework.stereotype.Component; import cokr.xit.interfaces.filejob.service.bean.FileJobBean; import cokr.xit.interfaces.lntris.DataFileSupport; +import cokr.xit.interfaces.lntris.InterfaceConfig; import cokr.xit.interfaces.lntris.basic.d.LntrisD02; import cokr.xit.interfaces.lntris.basic.d.dao.LntrisDMapper; @@ -50,6 +51,8 @@ public class LntrisD02Bean extends FileJobBean { /**연계대상 부과수납 정보를 조회하여 전송파일을 생성한다. */ public void register() { + if (!InterfaceConfig.databaseActive()) return; + List d02s = lntrisDMapper.selectD02s(); if (d02s.isEmpty()) return;