自动化立体仓库 - WMS系统
zhangchao
2024-11-05 cef894f7e1489cd776a9ebd91c1b358c9a241dcf
Excel导出优化
2个文件已修改
6 ■■■■ 已修改文件
src/main/java/com/zy/common/properties/SystemProperties.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/task/ActivateScheduler.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/properties/SystemProperties.java
@@ -15,7 +15,7 @@
    public static final String SALT = "123456789qwertyu";
    // 系统激活状态 (默认未激活)
    public static boolean SYSTEM_ACTIVATION = Boolean.FALSE;
    public static boolean SYSTEM_ACTIVATION = Boolean.TRUE;
    public static String getActivationCode(String fileName){
        StringBuilder activationCode = new StringBuilder();
src/main/java/com/zy/common/task/ActivateScheduler.java
@@ -18,8 +18,8 @@
public class ActivateScheduler {
//    @Scheduled(cron = "0/1 * 8 * * ? ") // 每天8点
    //@Scheduled(cron = "* 0/1 * * * ? ") // 每分钟
    //@PostConstruct
    @Scheduled(cron = "* 0/1 * * * ? ") // 每分钟
    @PostConstruct
    private void execute(){
        // 获取激活码
        String activationCode = SystemProperties.getActivationCode(OSinfo.getOSname().getActivationCodePath());