db 사용여부, 스케쥴에 의한 호출 관련 수정

master
mjkhan21 11 months ago
parent 04f6bfe56b
commit 1a03480517

@ -52,6 +52,10 @@ public interface LntrisAService {
*/
List<LntrisA02> readA02s(String[] orgs, String... sysCodes);
default List<LntrisA02> readA02s() {
return readA02s(null);
}
/** .
* @param a02Ids
* @param status

@ -11,7 +11,7 @@ import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
/**
* @author mjkhan
*/
@Getter

@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
/**
* @author mjkhan
*/
@Getter

@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
/**
* @author mjkhan
*/
@Getter

@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
/**
* @author mjkhan
*/
@Getter

@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
/**
* @author mjkhan
*/
@Getter

@ -12,7 +12,7 @@ import cokr.xit.interfaces.lntris.TargetMessage;
import lombok.Getter;
import lombok.Setter;
/**
/**
* @author mjkhan
*/
@Getter

@ -153,6 +153,10 @@ public interface LntrisDService {
*/
List<LntrisD07a> readD07as(String[] orgs, String... sysCodes);
default List<LntrisD07a> readD07as() {
return readD07as(null);
}
/** .
* @param sgbCd
* @param dptCd
@ -177,6 +181,10 @@ public interface LntrisDService {
*/
List<LntrisD07b> readD07bs(String[] orgs, String... sysCodes);
default List<LntrisD07b> readD07bs() {
return readD07bs(null);
}
/** .
* @param sgbCd
* @param dptCd
@ -201,6 +209,10 @@ public interface LntrisDService {
*/
List<LntrisD07c> readD07cs(String[] orgs, String... sysCodes);
default List<LntrisD07c> readD07cs() {
return readD07cs(null);
}
/** .
* @param sgbCd
* @param dptCd
@ -225,6 +237,10 @@ public interface LntrisDService {
*/
List<LntrisD07d> readD07ds(String[] orgs, String... sysCodes);
default List<LntrisD07d> readD07ds() {
return readD07ds(null);
}
/** .
* @param sgbCd
* @param dptCd
@ -249,6 +265,10 @@ public interface LntrisDService {
*/
List<LntrisD07e> readD07es(String[] orgs, String... sysCodes);
default List<LntrisD07e> readD07es() {
return readD07es(null);
}
/** .
* @param sgbCd
* @param dptCd

@ -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<LntrisD02> d02s = lntrisDMapper.selectD02s();
if (d02s.isEmpty()) return;

Loading…
Cancel
Save