| package com.zy.asrs.service; | 
|   | 
| import com.baomidou.mybatisplus.plugins.Page; | 
| import com.baomidou.mybatisplus.service.IService; | 
| import com.zy.asrs.entity.OrderDetl; | 
| import com.zy.asrs.entity.WaitPakin; | 
| import com.zy.asrs.entity.WrkDetl; | 
| import com.zy.common.model.LocDto; | 
|   | 
| 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,Double qty); | 
| // | 
| //    OrderDetl selectItem(String orderNo, String matnr, String batch,Double qty); | 
| // | 
| //    OrderDetl selectQtyItem(String orderNo, String matnr, String batch, Double qty); | 
|   | 
|     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 decrease(WrkDetl wrkDetl, Double qty); | 
|   | 
|     boolean decrease(WaitPakin waitPakin, Double qty); | 
|   | 
|     boolean modifyStatus(Long orderId, Integer status); | 
|   | 
|     boolean addToLogTable(OrderDetl orderDetl); | 
|   | 
|     //boolean increaseQtyByOrderNo(String orderNo, String matnr, String batch, Double qty); | 
|   | 
|     boolean increaseQtyByOrderNo(String orderNo, WrkDetl wrkDetl, Double qty); | 
|     /** | 
|      * 入出库任务生成时,更新单据表中作业数量 | 
|      * | 
|      * @param orderDetl | 
|      * @param workQty | 
|      * @return | 
|      */ | 
|     boolean increaseWorkQty(OrderDetl orderDetl, Double workQty); | 
|   | 
|     List<OrderDetl> selectItem(String orderNo); | 
|   | 
|     OrderDetl selectItem(WaitPakin waitPakin); | 
|   | 
|     OrderDetl selectItem(LocDto locDto); | 
|   | 
|     OrderDetl selectItem(WrkDetl wrkDetl); | 
|     boolean increaseWorkQtyByOrderNo(String orderNo, OrderDetl orderDetl, Double workQty); | 
|     boolean increaseQtyByOrderNo1(String orderNo, OrderDetl orderDetl, Double qty); | 
| } |