#
Junjie
2024-06-03 312e4a25f2c96e8349369cf1838c79b34f816ca5
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
package com.zy.asrs.common.wms.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.asrs.common.wms.entity.OrderDetl;
 
import java.util.Map;
 
public interface OrderDetlService extends IService<OrderDetl> {
 
    OrderDetl selectItem(Long orderId, String matnr, String batch,Long hostId);
 
    OrderDetl selectItem(String orderNo, String matnr, String batch, Long hostId);
 
    IPage<OrderDetl> getPakoutPage(Integer curr, Integer limit, Map<String, Object> map);
 
    boolean increase(Long orderId, Long hostId, String matnr, String batch, Double qty);
 
    boolean decrease(String orderNo, Long hostId, String matnr, String batch, Double qty);
 
    boolean increaseQtyByOrderNo(String orderNo, String matnr, String batch, Double qty, Long hostId);
 
    boolean increaseWorkQtyByOrderNo(String orderNo, String matnr, String batch, Double qty, Long hostId);
 
    boolean increaseWorkQty(Long orderId, String matnr, String batch, Double workQty, Long hostId);
 
}