skyouc
2024-12-21 c635d78b479510ebe2556a420948effcd30a0731
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/WorkService.java
@@ -1,49 +1,49 @@
package com.zy.asrs.wms.asrs.service;
import com.zy.asrs.wms.asrs.entity.Loc;
import com.zy.asrs.wms.asrs.entity.param.FieldParam;
import com.zy.asrs.wms.asrs.entity.param.GeneratePakInParam;
import com.zy.asrs.wms.asrs.entity.param.LocAdjustParam;
import com.zy.asrs.wms.asrs.entity.param.LocTransferParam;
import java.util.List;
public interface WorkService {
    //生成任务号
    String generateTaskNo(Long taskType);
    //生成优先级
    Integer generateIoPri(Long taskType);
    //生成空托盘可用库位号
    Loc generateEmptyLoc(Long taskType, Integer locTypeHeight);
    //生成可用库位号
    Loc generateLoc(Long taskType, String barcode, Integer locTypeHeight);
    //生成可用库位号
    Loc generateLoc(Long taskType, Long matId, String batch, List<FieldParam> uniqueFields, Integer locTypeHeight);
    //生成入库任务(满托盘)
    boolean generatePakIn(GeneratePakInParam param);
    //生成入库任务(空托盘)
    boolean generateEmptyPakIn(GeneratePakInParam param);
    //完成任务
    boolean completeTask(Long taskId);
    //取消任务
    boolean cancelTask(Long taskId);
    //拣料任务
    boolean pickTask(Long taskId);
    //库存调整
    boolean locAdjust(LocAdjustParam param);
    //库位移转
    boolean locTransfer(LocTransferParam param);
}
package com.zy.asrs.wms.asrs.service;
import com.zy.asrs.wms.asrs.entity.Loc;
import com.zy.asrs.wms.asrs.entity.param.FieldParam;
import com.zy.asrs.wms.asrs.entity.param.GeneratePakInParam;
import com.zy.asrs.wms.asrs.entity.param.LocAdjustParam;
import com.zy.asrs.wms.asrs.entity.param.LocTransferParam;
import java.util.List;
public interface WorkService {
    //生成任务号
    String generateTaskNo(Long taskType);
    //生成优先级
    Integer generateIoPri(Long taskType);
    //生成空托盘可用库位号
    Loc generateEmptyLoc(Long taskType, Integer locTypeHeight);
    //生成可用库位号
    Loc generateLoc(Long taskType, String barcode, Integer locTypeHeight);
    //生成可用库位号
    Loc generateLoc(Long taskType, Long matId, String batch, List<FieldParam> uniqueFields, Integer locTypeHeight);
    //生成入库任务(满托盘)
    boolean generatePakIn(GeneratePakInParam param);
    //生成入库任务(空托盘)
    boolean generateEmptyPakIn(GeneratePakInParam param);
    //完成任务
    boolean completeTask(Long taskId);
    //取消任务
    boolean cancelTask(Long taskId);
    //拣料任务
    boolean pickTask(Long taskId);
    //库存调整
    boolean locAdjust(LocAdjustParam param);
    //库位移转
    boolean locTransfer(LocTransferParam param);
}