自动化立体仓库 - WMS系统
18516761980
2022-06-21 873f0e8c1bad2dc77affd40d381919ac26317d39
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
package com.zy.asrs.service;
 
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.zy.asrs.entity.OrderDetl;
 
import java.util.List;
 
public interface OrderDetlService extends IService<OrderDetl> {
 
    List<OrderDetl> selectByOrderId(Long orderId);
 
    Page<OrderDetl> getPakoutPage(Page<OrderDetl> page);
 
    OrderDetl selectItem(Long orderId, String matnr, String batch);
 
    OrderDetl selectItem(String orderNo, String matnr, String batch);
 
    OrderDetl findByLook(List<OrderDetl> orderDetls, Long orderId, String matnr, String batch);
 
    boolean increase(Long orderId, String matnr, String batch, Double qty);
 
    boolean decrease(String orderNo, String matnr, String batch, Double qty);
 
    boolean modifyStatus(Long orderId, Integer status);
 
    boolean addToLogTable(OrderDetl orderDetl);
 
    boolean increaseQtyByOrderNo(String orderNo, String matnr, String batch, Double qty);
 
    /**
     * 入出库任务生成时,更新单据表中作业数量
     * @param orderId
     * @param matnr
     * @param batch
     * @param workQty
     * @return
     */
    boolean increaseWorkQty(Long orderId, String matnr, String batch, Double workQty);
}