| 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); | 
|   | 
|     boolean increaseWorkQty2(Long id, Double workQty); | 
| } |