TaskDetailService.java 1.34 KB
package com.huaheng.pc.task.taskDetail.service;

import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.inventory.cycleCountDetail.domain.CycleCountDetail;
import com.huaheng.pc.receipt.receiptContainerDetail.domain.ReceiptContainerDetail;
import com.huaheng.pc.task.taskDetail.domain.TaskDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.task.taskHeader.domain.TaskHeader;

import java.math.BigDecimal;
import java.util.List;

public interface TaskDetailService extends IService<TaskDetail>{


    List<TaskDetail> preferenceRealize (List<TaskDetail> cycleCoutDetailList);

    /**
     * 根据任务头表id查询任务明细
     * @param ids 头表id数组
     * @return
     */
    List<TaskDetail> findByTaskId(Integer[] ids);

    /**
     * 根据任务头表id查询任务明细
     * @param id
     * @return
     */
    List<TaskDetail> findByTaskId(Integer id);

    void createTaskDetailByReceipt(TaskHeader task, ReceiptContainerDetail item);

    public List<TaskDetail> selectListEntityUndone(TaskDetail taskDetail);

    public List<TaskDetail> selectListByGoodshelf(TaskDetail taskDetail);

    public void updateByInventory(TaskDetail taskDetail);

    public void updateTask(TaskDetail taskDetail, BigDecimal number);

    public AjaxResult updateTaskDetail(String ids, String code);
}