From c0586c8f9da15829be14077c2a1c22caa1e8cf83 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期五, 15 三月 2024 14:37:42 +0800
Subject: [PATCH] 查看单据明细时显示该物料在立库和平库中的库存

---
 src/main/java/com/zy/asrs/mapper/OrderMapper.java |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/mapper/OrderMapper.java b/src/main/java/com/zy/asrs/mapper/OrderMapper.java
index 1f4bdcf..dd72a35 100644
--- a/src/main/java/com/zy/asrs/mapper/OrderMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/OrderMapper.java
@@ -1,9 +1,9 @@
 package com.zy.asrs.mapper;
 
-import com.zy.asrs.entity.Order;
 import com.baomidou.mybatisplus.mapper.BaseMapper;
-import com.zy.asrs.entity.OrderDetl;
+import com.zy.asrs.entity.Order;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 import org.springframework.stereotype.Repository;
 
 import java.util.List;
@@ -12,4 +12,13 @@
 @Repository
 public interface OrderMapper extends BaseMapper<Order> {
 
+    int updateSettle(@Param("orderId")Long orderId, @Param("settle")Long settle, @Param("userId")Long userId);
+
+    List<Order> selectComplete();
+
+    int addToLogTable(Order order);
+
+    Integer checkDetlWorkQtyLess0(@Param("orderNo") String orderNo);
+
+    void updateSettleTo1(@Param("orderNo")String orderNo);
 }

--
Gitblit v1.9.1