Authored by LUOXC

refactor

... ... @@ -37,7 +37,7 @@ public class ScheduledProductChain implements YhJob {
public JobProcessResult process(String jobContext) {
LOGGER.info("scheduledProductChain begin.");
boolean open = configReader.getBoolean("ufo.product.chain.switch.close", false);
boolean open = configReader.getBoolean("ufo.product.chain.switch.open", false);
if(open){
List<ProductInfo> productInfos = productChainService.queryIsuploadIsZero();
... ...
... ... @@ -35,7 +35,7 @@ public class ScheduledTransactionChain implements YhJob {
public JobProcessResult process(String jobContext) {
LOGGER.info("scheduledTransactionChain begin.");
boolean open = configReader.getBoolean("ufo.product.chain.switch.close", false);
boolean open = configReader.getBoolean("ufo.product.chain.switch.open", false);
if(open) {
... ...