TaskDetailService.java
1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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);
}