自动化立体仓库 - WMS系统
pang.jiabao
2025-03-26 5dac37cde0205be965c2b74dd1bddefc7f9cceda
src/main/java/com/zy/asrs/task/kingdee/LoginAuthenticationScheduler.java
@@ -1,6 +1,8 @@
package com.zy.asrs.task.kingdee;
import com.core.common.Cools;
import com.zy.asrs.task.kingdee.handler.LoginAuthenticationHandler;
import com.zy.common.entity.Parameter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@@ -20,6 +22,9 @@
        if(!LoginAuthenticationSwitch){
            return;
        }
        loginAuthenticationHandler.start();
        String erpReport = Parameter.get().getErpReport();
        if (!Cools.isEmpty(erpReport) && erpReport.equals("true")) {
            loginAuthenticationHandler.start();
        }
    }
}