From 4723871dc387ab674840ce39a97893f4f7b4ffd0 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 30 三月 2022 08:47:29 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/OrderDetlService.java |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/OrderDetlService.java b/src/main/java/com/zy/asrs/service/OrderDetlService.java
index e169f39..8080b2d 100644
--- a/src/main/java/com/zy/asrs/service/OrderDetlService.java
+++ b/src/main/java/com/zy/asrs/service/OrderDetlService.java
@@ -1,8 +1,22 @@
 package com.zy.asrs.service;
 
-import com.zy.asrs.entity.OrderDetl;
 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);
+
+    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);
+
 }

--
Gitblit v1.9.1