自动化立体仓库 - WMS系统
*
lsh
3 天以前 bbf11a79fce0131aa95905c09b00f25e7696d20b
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();
        }