TaskHeaderService.java 1.17 KB
package com.huaheng.pc.task.taskHeader.service;

import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.task.taskHeader.domain.ShipmentTaskCreateModel;
import com.huaheng.pc.task.taskHeader.domain.TaskHeader;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TaskHeaderService extends IService<TaskHeader>{


    AjaxResult createTaskFromShipmentContainers(ShipmentTaskCreateModel shipmentTaskCreateModel) ;

    AjaxResult<TaskHeader> sendTaskToWcs(Integer[] taskIds);

    AjaxResult completeTaskByWMS(Integer[] taskIds) throws Exception;

    AjaxResult completeReceiptTask(TaskHeader task) throws Exception;

//    List<Map<String, Object>> getReceiptTask(@Param("taskId") Integer taskId);

    AjaxResult createTransferTask(String sourceLocation, String destinationLocation);


    AjaxResult createCheckOutTask(String[] ids);

    AjaxResult completeCycleCountOrSeeOutTask(TaskHeader taskHeader);

    AjaxResult createReceiptTask(List<Integer> ids);

    void completeShipmentTask(TaskHeader task) ;

    Integer UncompleteCount(String containerCode);


}