zjj
2024-05-30 09284f08c7a901f684cf26ccb0e51a9204d9cd64
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
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);
 
    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);
 
}