diff --git a/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java b/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java index 15a008498..34ffe6f09 100644 --- a/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java @@ -45,7 +45,7 @@ public class TradeSecureServiceHanyinImpl implements TradeSecureService { @Override public void uploadSecureReportYesterday() { - if (!sysConfigManager.getSysConfig().getBooleanValue("production_flag")) { + if (!sysConfigManager.getSysConfig().getBooleanValue("enable_hanyin_uploading")) { return; } logger.debug("start uploading secure report");