zwl
2025-07-05 9b6a50bf1288d2f7f06a67bec0c902d1256e44fe
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
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);
 
    boolean addToLogTable(OrderDetl orderDetl);
}