自动化立体仓库 - WMS系统
#
1
4 天以前 0e1dcb25ccb0249b1b62a4fec7cb3154a50f7e69
src/main/java/com/zy/asrs/utils/OptimizedLockerPackingUtils.java
@@ -1,5 +1,8 @@
package com.zy.asrs.utils;
import com.core.common.SnowflakeIdWorker;
import com.core.common.SpringUtils;
import java.util.*;
public class OptimizedLockerPackingUtils {
@@ -37,7 +40,9 @@
            this.remainingSpace = 1.0;
            this.contents = new HashMap<>();
            this.itemTypes = new HashSet<>();
            this.bindingTags = System.currentTimeMillis();
            SnowflakeIdWorker snowflakeIdWorker = SpringUtils.getBean(SnowflakeIdWorker.class);
//            this.bindingTags = System.currentTimeMillis();
            this.bindingTags = snowflakeIdWorker.nextId();
        }