*
lsh
2 天以前 23e81c5d24c37a87fbbbf67c68b17e8f78832148
src/main/java/com/zy/asrs/entity/param/TaskCreateParam.java
@@ -1,5 +1,7 @@
package com.zy.asrs.entity.param;
import com.zy.asrs.entity.LocMast;
import com.zy.core.model.CrnSlave;
import io.swagger.models.auth.In;
import lombok.Data;
@@ -92,6 +94,18 @@
        this.targetPointSta = crnSta;
    };
    public TaskCreateParam(CrnSlave crnSlave, LocMast locMast){
        this.taskNo = locMast.getLocNo() + "-" + crnSlave.getId();
        this.ioType = 4;
        this.barcode = locMast.getBarcode();
        this.taskPriority = 1;
        this.startPoint = locMast.getLocNo();
        this.targetPoint = locMast.getLocNo();
        this.emptyContainer = "N";
        this.crn = locMast.getCrnNo();
        this.memo = "演示任务";
    };
    public static Integer convertParamIoType(String paramIoType){
        switch (paramIoType){